Sample Macro Code to Change Case of Text (141094)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q141094 For a Microsoft Excel 2002 version of this article, see 291323.
For a Microsoft Excel 2000 version of this article, see 213649.
SUMMARY
This article contains three sample Microsoft Visual Basic for Applications
macros (Sub procedures) that you can use to change the letters in a text
string to all uppercase, all lowercase, or title case (the first letter in
each word is capitalized).
REFERENCES
For more information about changing the case of text in Microsoft Excel,
click Answer Wizard on the Help menu and type:
tell me about changing case of text
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
ARTICLE-ID: 163435
TITLE : VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB141094 |
---|
|