If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
VBA 07 - slide side doesn't change
Hi everybody,
I use the follwoing code to change the slide size ActivePresentation.PageSetup.SlideSize = ppSlideSizeLetterPaper or ActivePresentation.PageSetup.SlideSize =ppSlideSizeA4Paper it works fine in 03 but in 07 although it shows on the User Inteface page setup dialog box that size is changed , actually i doesn't change it and have no effect. Any suggestions? -- Best regards, Edward |
#2
|
|||
|
|||
VBA 07 - slide side doesn't change
"Edward" wrote in message ... Hi everybody, I use the follwoing code to change the slide size ActivePresentation.PageSetup.SlideSize = ppSlideSizeLetterPaper or ActivePresentation.PageSetup.SlideSize =ppSlideSizeA4Paper it works fine in 03 but in 07 although it shows on the User Inteface page setup dialog box that size is changed , actually i doesn't change it and have no effect. Any suggestions? -- Best regards, Edward Works fine here Edward (in 2007 SP2) John __________ Information from ESET Smart Security, version of virus signature database 4679 (20091211) __________ The message was checked by ESET Smart Security. http://www.eset.com |
#3
|
|||
|
|||
VBA 07 - slide side doesn't change
Thanks. I use SP2 as well. What it does here is just changing the value in
the PageSetup size dropdown , but it doesn't actually change the slide size. so if I save the PP and close and open it again it and look at the pagesize it's "On screen show". other properties of the Pagesetup work fine for example 07 responds to the following code ActivePresentation.PageSetup.SlideWidth=480 by changing the slide width on screen. You said it works for you. Is there any seetings that prevents my code working properily on my machine? -- Best regards, Edward "John Wilson" wrote: "Edward" wrote in message ... Hi everybody, I use the follwoing code to change the slide size ActivePresentation.PageSetup.SlideSize = ppSlideSizeLetterPaper or ActivePresentation.PageSetup.SlideSize =ppSlideSizeA4Paper it works fine in 03 but in 07 although it shows on the User Inteface page setup dialog box that size is changed , actually i doesn't change it and have no effect. Any suggestions? -- Best regards, Edward Works fine here Edward (in 2007 SP2) John __________ Information from ESET Smart Security, version of virus signature database 4679 (20091211) __________ The message was checked by ESET Smart Security. http://www.eset.com . |
#4
|
|||
|
|||
VBA 07 - slide side doesn't change
As an alternative method I though if I can use the pageset up dialog box
maybe we can work around this issue. something like CommandBars.FindControl(Id:= ?).Execute SendKeys "Enter" but pasgesetup is in a group with policy ID 11551 and I get an error useing the above code for openning the dialog box . Steve , do you think I can use this method? |
Thread Tools | |
Display Modes | |
|
|