: Visual Basic Macro to Show Active Cell's Range Names (131922)
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 Q131922 SUMMARY
This article contains a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that finds all named ranges that contain the active
cell on a worksheet and displays the names in a series of message boxes.
REFERENCES
"Visual Basic User's Guide," version 5.0, Chapter 7, "Controlling How Your
Code Runs"
For more information on using looping in Visual Basic macros, click the
Search button in Programming with Visual Basic Help and type:
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB131922 |
---|
|