offthewall
Programmer
Wondering why this generates an error (Word 97, as a new file from a template):
ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitBestFit
error:
Run-time error '91'
Object variable or With Block variable not set
It doesn't generate the error if I just click on it, however (as opposed to FILE, New)...
I got around it by using sendkeys, but then I have to clean out the typeahead buffer.....
any ideas what I'm missing?
ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitBestFit
error:
Run-time error '91'
Object variable or With Block variable not set
It doesn't generate the error if I just click on it, however (as opposed to FILE, New)...
I got around it by using sendkeys, but then I have to clean out the typeahead buffer.....
any ideas what I'm missing?