Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Interesting Crash

Latest post Wed, Jan 23 2008 6:19 AM by Ron de Bruin. 5 replies.
  • Tue, Jan 22 2008 4:59 PM

    • Jon Peltier
    • Top 50 Contributor
    • Joined on Thu, Jan 17 2008
    • Massachusetts
    • Posts 13
    • Points 309
    • MVP

    Interesting Crash

    I just learned of this fun little demo. This works (or rather fails) In Excel 2000, but not in more recent versions.

    Save and close any important workbooks. Insert a chart sheet in a workbook, add a shape (a simple rectangle is sufficient) to the chart sheet. Switch back to the worksheet, and run this code:

    ActiveWorkbook.ResetColors

     

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Tutorials and Custom Solutions
    Peltier Technical Services, Inc. - http://PeltierTech.com
    _______

    • Post Points: 37
  • Tue, Jan 22 2008 5:16 PM In reply to

    • Nick Hodge
    • Top 10 Contributor
    • Joined on Sun, Dec 23 2007
    • Southampton
    • Posts 336
    • Points 5,771
    • MVP

    Jon

    Confirmed, but I wouldn't call it interesting Tongue Tied

    Regards
    Nick Hodge
    Microsoft MVP, Excel
    Southampton, UK

    Filed under:
    • Post Points: 21
  • Tue, Jan 22 2008 5:45 PM In reply to

    Everything Jon says is interesting.

    Mike Alexander Microsoft Excel MVP www.datapigtechnologies.com
    • Post Points: 21
  • Tue, Jan 22 2008 5:59 PM In reply to

    • Jon Peltier
    • Top 50 Contributor
    • Joined on Thu, Jan 17 2008
    • Massachusetts
    • Posts 13
    • Points 309
    • MVP

    Mike -

    Damn straight. Could you come tell my kids that?

    Thanks.

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Tutorials and Custom Solutions
    Peltier Technical Services, Inc. - http://PeltierTech.com
    _______

    • Post Points: 5
  • Wed, Jan 23 2008 6:17 AM In reply to

    This one is als a Interesting crash in Excel 2002 to sum a cell in all worksheets

    =SUM('*'!A20)

    Where the '*' automatically converts to all sheets other than the activate one.
    WARNING: Not working in Excel 2002, it crashes the application.

    If your workbook have 6 sheets and you enter this formula in sheet3 the formula looks like this.
    =SUM(Sheet1:Sheet2!A20,Sheet4:Sheet6!A20)

    • Post Points: 21
  • Wed, Jan 23 2008 6:19 AM In reply to

    It was me that post this (I was not signed in)

    • Post Points: 5
Page 1 of 1 (6 items) | RSS
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.