Several features that affect macros have been changed from Word 2000 to Word 2003 (827889)



The information in this article applies to:

  • Microsoft Office Word 2003
  • Microsoft Word 2000

For a Microsoft Word 2000 version of this article, see 232465.

SUMMARY

You do not have to convert your Word 2000 Visual Basic for Applications macros for Microsoft Office Word 2003. However, feature changes in Word 2003 may affect the way that these macros run in Word 2003 or may affect the results that you receive.

This article discusses some of the changes that you must be aware of when you run Word 2000 macros in Word 2003.

Note This article does not discuss how to convert macros from versions of Word that are earlier than Word 2000 and that use WordBasic. For information about converting macros from WordBasic to Visual Basic for Applications, see the following Microsoft Web site:

MORE INFORMATION

The following are some of the changes that you must be aware of when you run Word 2000 macros in Word 2003.

Single Document Interface

Earlier versions of Word used the Multiple Document Interface (MDI). Beginning with Word 2000, Single Document Interface (SDI) replaces MDI. With SDI, every open Word document is represented in a new document window instead of in a new window in Word. This may cause problems for those who rely on the old MDI behavior. Test your code carefully to make sure that this does not cause problems. Problems are most likely to occur if your code uses the Windows object.

Template Locations

Template locations have changed in Word 2003 to make it easier for roaming profiles. This change may affect your existing macros.

For additional information about template locations for Word 2002 and Word 2003, click the following article number to view the article in the Microsoft Knowledge Base:

291141 Categories, locations, and registry keys for Word templates

Note Although Word 2003 still loads add-ins and templates from your previous Word 2000 Startup folder for backward compatibility, it is recommended that you store your new solutions in the new locations.

REFERENCES

For additional information about the resources that are available for creating custom solutions by using Visual Basic for Applications and Word 2003, click the following article number to view the article in the Microsoft Knowledge Base:

212623 Macro programming resources


Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbinfo KB827889 kbAudEndUser kbAudDeveloper