Article ID: 213823 - Last Review: January 24, 2007 - Revision: 4.2 Macro that changes cell dimensions on multiple sheets does not run as expectedThis article was previously published under Q213823
For a Microsoft Excel 97 and earlier versions of Excel version of this article, see 131164
(http://support.microsoft.com/kb/131164/
)
.
For a Microsoft Excel 98 Macintosh Edition version of this article, see 192904
(http://support.microsoft.com/kb/192904/
)
.
SYMPTOMS
You record a macro that changes column widths, changes row heights, or
hides and unhides rows or columns while multiple sheets are selected in Microsoft Excel. When you do this, the macro may not run as expected. When you run the macro, only the active sheet in the multiple sheet selection reflects the changes to the column widths and row heights. WORKAROUNDMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To work around this issue, modify the recorded macro. To determine which portions of your macro to modify, follow these steps:
| Article Translations
|
Back to the top
