How to center a shape on the screen

O

Oguz Basoglu

Hello, World!



I have the problem that I want to focus programmatically on a shape. I don't
want to center the shape on the page, but I want to center the shape on the
screen. To be more detailed: I want to show the user the shape, which has a
problem in my solution. Zooming in or out the page would be fine as well.



Anybody an idea?



Greetings



Oguz
 
P

Paul Herber

Hello, World!



I have the problem that I want to focus programmatically on a shape. I don't
want to center the shape on the page, but I want to center the shape on the
screen. To be more detailed: I want to show the user the shape, which has a
problem in my solution. Zooming in or out the page would be fine as well.

.ActiveWindow.ScrollViewTo (x,y)
 
Top