Nelviticus
Programmer
Hello,
I'm trying to write some code that sets the page view to page width zoom when I start Word. This is because it occasionally gets reset to some other value, which really irritates me. The code to do this is:
However, I can't put this in an AutoExec macro because ActivePane isn't available when AutoExec runs. I tried putting it in the AutoNew macro but that doesn't seem to fire when Word starts.
Any ideas where I can put this so that it runs when I start Word?
Thanks
Nelviticus
I'm trying to write some code that sets the page view to page width zoom when I start Word. This is because it occasionally gets reset to some other value, which really irritates me. The code to do this is:
Code:
ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitBestFit
However, I can't put this in an AutoExec macro because ActivePane isn't available when AutoExec runs. I tried putting it in the AutoNew macro but that doesn't seem to fire when Word starts.
Any ideas where I can put this so that it runs when I start Word?
Thanks
Nelviticus