Microsoft KB Archive/43296

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Excel Macro to Perform Arrange All When Sheet Is Clicked

Last reviewed: November 2, 1994
Article ID: Q43296



2.00 2.01 2.10 3.00 | 2.20 2.21 3.00

WINDOWS             | OS/2

SUMMARY

The following macro performs the Arrange All command whenever another sheet is activated. When working with an odd number of sheets, it will make the active sheet the largest. The macro is assumed to be named ARRANGE.XLM.

   A1: Arrange
   A2: =ON.WINDOW(,"arrange.xlm!R5C1")
   A3: =RETURN()
   A4:
   A5: Arrange_all
   A6: =ARRANGE.ALL()
   A7: =RETURN()



KBCategory: kbother

KBSubcategory:

Additional reference words: 2.00 2.0 2.01 2.1 2.10 2.2 2.21 2.20 3.00
3.0


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.