VB Macro to Align Worksheets with Top Worksheet (134829)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q134829 This article also applies to: - Microsoft Excel for Windows 95 7.0|7.0
- Microsoft Excel for Windows 5.0c|5.0c
- Microsoft Excel for Windows NT 5.0|5.0
- Microsoft Excel for the Macintosh 5.0|5.0
- Microsoft Excel for the Macintosh 5.0a|5.0a
SUMMARY
When worksheets have been grouped and a cell selected, that cell is then
the active cell on each of the grouped sheets. In order to view that cell,
each sheet must be individually manipulated to bring the active cell into
view. The following is a sample Microsoft Visual Basic for Applications
macro (Sub procedure) to align all the worksheets this way.
REFERENCES
"Visual Basic User's Guide," version 5.0, Chapter 5, "Working with
Objects in Visual Basic"
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB134829 |
---|
|