Macro to Select all Data on a Worksheet (89949)
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 Q89949 SUMMARY
In Microsoft Excel, you can select all the data on your worksheet by
pressing the key combination CTRL+SHIFT+END (CONTROL+SHIFT+END on
Macintosh). You can also simulate these keystrokes in the macro described
in this article.
REFERENCES
"Microsoft Excel User's Guide 2," version 4.0, pages 231-238
"Microsoft Excel Function Reference," version 4.0, pages 191-194, 238-
239, 349-350, 378-379
"Microsoft Excel User's Guide," version 3.0, pages 595-600
"Microsoft Excel Function Reference," version 3.0, pages 103-105, 129,
192-193, 209-210
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbProgramming KB89949 |
---|
|