From: "John McGhie [MVP - Word and Word Macintosh]" <
[email protected]>
Newsgroups: microsoft.public.mac.office.word
Date: Sun, 10 Apr 2005 17:00:43 +1000
Subject: Re: Visual Basic for Applications
Hi Kenneth:
In addition to what the others said, I would suggest that any book on Word
2000 VBA will be good. Sure, it's a level ahead of Word 2004, but there's
not many things that won't work.
The main problem I have is that the Integrated Development Environment is
only partially implemented in Mac Word. There's no "Prompt you thorough"
autocomplete, there's no Locals window, and the Help is not as complete.
However, the Word 2003 VBA Help is available online, here:
<
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd11/ht
ml/wohowUnderstandingObjects1_HV05213901.asp>
You will find that it is much more complete and expansive, and most of the
things you read about will work on the Mac (and the compiler will warn you
instantly if they won't).
Two suggestions: Set Option Explicit at the top of your VBA Project. This
forces you to declare all your variables and gets rid of a lot of spelling
errors and typos. And each time you complete a statement, Compile the
project: the compiler will error immediately if you are being naughty!
Hope this helps
Many thanks, I know about VBA Help.
--
Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.
John McGhie <
[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 4 1209 1410