Sample code to change the Language ID of a text box in PowerPoint (245468)
The information in this article applies to:
- Microsoft Office PowerPoint 2003
- Microsoft PowerPoint 2002
- Microsoft PowerPoint 2000
This article was previously published under Q245468 SUMMARY
This article contains a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that searches a presentation for text boxes and changes the LanguageID property of the text box to US English. You can easily modify the code to change the language ID to one of several other languages.
This macro does not change the language of a presentation. It only sets the LanguageID property for each text box to another language. This is useful if you have to change the language ID for all your text boxes at the same time to be able to check the spelling.
This macro can be helpful if you have a presentation that contains text that is set to a LanguageID that cannot be easily found. Additionally, this macro can be helpful if you use it to change something by using the Language dialog box in PowerPoint. This macro is typically needed if you receive the following message when you try to check the spelling of a presentation in PowerPoint: PowerPoint couldn't find the spelling file for <Language>REFERENCES
For additional information about how to use the sample code that is in this article, click the following article number to view the article in the Microsoft Knowledge Base:
212536
How to run sample code from Knowledge Base articles
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbdtacode kbhowto kbmacro kbProgramming KB245468 |
---|
|