Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vba changes page size ok, CorelDraw12 doesn't update

Status
Not open for further replies.

DaveLock2

Technical User
Jan 5, 2005
1
AU
I am using VBA to automate the changing of the page size & orientation. When doing so, the page size & orientation changes ok (VBA's ActivePage.Paper updates to changed type & ActivePage.Orientation updates to changed orientation), but CorelDraw's property bar & Tools>Options>Document>Page>Size don't update to recognise the change. They still display the previous page size & orientation.

I have tried using ActivePage.SetSize, as well as ActivePage.SizeWidth & ActivePage.SizeHeight, but neither works.

1. How can the application & vba be displaying different values?
2. Is there a way around this bug?
3. Should I be using a different command.

I can send an example if needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top