Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.
Learn more about Allen...
If you are a "macro maniac," and you are converting your macros to Word 97, you may run into a slight problem. When you save your newly converted macros to disk, you may get a disk-full error. (This occurs regardless of how much disk space you have available.) The reason for this is the length of the lines in the macros themselves. Under Word 95, which used WordBasic, there was no effective line length--Word took care of reformatting your macro lines to an acceptable length.
Under Word 97, there is essentially no limit on the line length, meaning that VBA won't reformat your lines--it leaves them as long as you enter them (or as long as the conversion process makes them). If you get the "disk full" error, look at your macros and shorten any long lines. If you get them fairly short (say, under 500 characters or so), and then try to save again, the error message should go away.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (114) applies to Microsoft Word 97.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!