B
Bits-n-PCES
I build Powerpoint presentations from Word using VBA automation. In Office
2007, Powerpoint randomly crashes when I change activewindow.viewtype from
normal to notes page view. I do this repeatedly throughout the slide
generation process because I am writing presenter notes as well as slide
content. It works well (and fast) in Office 2003 but crashes in 2007 after
building a handful of slides (it even calls the same code to switch views
many times before it does!) After about 8-10 slides I get the Recover your
work/Send this to Microsoft/ Quit screen. I set the view by referring to the
powerpoint document's application like so:
myDoc.Application.ActiveWindow.ViewType = ppViewNotesPage. Are there any
known bugs reported regarding switching views? Is there a better way to do
it? Also, unrelated but... If it does finish building the presentation as it
sometimes will, when I call the save and close fucntions for the PowerPoint
document and then try using the quit() function on the application,
PowerPoint does not quit. And always it will crash the next time, unless I
end the process in task manager.
Help!
2007, Powerpoint randomly crashes when I change activewindow.viewtype from
normal to notes page view. I do this repeatedly throughout the slide
generation process because I am writing presenter notes as well as slide
content. It works well (and fast) in Office 2003 but crashes in 2007 after
building a handful of slides (it even calls the same code to switch views
many times before it does!) After about 8-10 slides I get the Recover your
work/Send this to Microsoft/ Quit screen. I set the view by referring to the
powerpoint document's application like so:
myDoc.Application.ActiveWindow.ViewType = ppViewNotesPage. Are there any
known bugs reported regarding switching views? Is there a better way to do
it? Also, unrelated but... If it does finish building the presentation as it
sometimes will, when I call the save and close fucntions for the PowerPoint
document and then try using the quit() function on the application,
PowerPoint does not quit. And always it will crash the next time, unless I
end the process in task manager.
Help!