change active page

D

Daniel Moser

Hi

How can I change the activePage in Visio with automation?
I need it to select shapes on a non-active page...

thanx for any help
 
A

Al Edlund

dan,
try something like this

ActiveWindow.Page = visDocument.Pages(iPagCtr).Name

al
 
Top