
Word2000 VBA vs. Word97 VBA
Hi Josh,
| Also, the specific code that works in Word2000 but not Word97 is:
| wordApp.ActiveWindow.ActivePane.View.type = wdPrintView
| Is this because the wdPrintView constant does not exist in Word97?
Yes that is why it's not working, try :
ActiveWindow.ActivePane.View.type =wdPageView
instead.
| Is there a reference on the internet
| that lists the differences (or added features, I guess) of one vs. the
| other? Or is my best bet to simply install both versions on my PC.
There was but I can't find it anymore. I didn't think it was so detailed
btw. It's best IMO if you need to develop an application that needs to run
on both versions, is to develop in the oldest version.
Hope this helps,
regards,
Astrid
So that all can benefit from the discussion, please post all follow-ups to
the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/