+ Reply to Thread
Results 1 to 1 of 1

Unhiding Rows Crashes Excel

  1. #1
    Registered User
    Join Date
    12-09-2019
    Location
    Antarctica
    MS-Off Ver
    2016
    Posts
    9

    Unhiding Rows Crashes Excel

    I made the mistake of hiding all additional rows and columns in my workbook thinking it would make the workbook run faster since it wouldn't need to worry about the additional rows/columns. This has slowed down my workbook heavily. I'm trying to go back and unhide all these rows/columns to hopefully speed my workbook up, but every time I click unhide on the rows excel crashes. I have tried simply unhiding from the page, turning off calculations then unhiding, I have tried clicking home>format>hide & unhide>rows, I've tried multiple different macros including clearing formats before unhiding.

    All my macros use an optimization code before hand that says:
    "Application.ScreenUpdating = False
    EventState = Application.EnableEvents
    Application.EnableEvents = False
    CalcState = Application.Calculation
    Application.Calculation = xlCalculationManual
    PageBreakState = ActiveSheet.DisplayPageBreaks
    ActiveSheet.DisplayPageBreaks = False"

    I have put days worth of time into this spreadsheet and it seems to be essentially broken now. It will still work just extremely slow thanks to the hidden rows and columns. If anyone could help, you would be a life-saver!


    EDIT: Found a solution. I just made 5 different macros to space out unhiding the rows in several chunks rather than all at once.
    Last edited by nickt94; 12-16-2019 at 04:12 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel VBA help for unhiding and hiding rows upon exiting
    By cinnamorolls in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-09-2015, 11:35 PM
  2. [SOLVED] Hiding and Unhiding Rows
    By jessmr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-24-2013, 03:29 PM
  3. [SOLVED] Macro crashes my excel and does not copy the rows
    By AB33 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2012, 06:43 PM
  4. Excel crashes when unhiding or hiding sheet
    By Lifesigns in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2010, 05:07 PM
  5. (Unsuccessfully!) Unhiding Rows in Excel 2003
    By [email protected] in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-24-2006, 03:20 PM
  6. Excel crashes while trying to save, add or delete rows
    By scaramushe in forum Excel General
    Replies: 2
    Last Post: 03-07-2006, 01:07 PM
  7. [SOLVED] Unhiding Rows
    By Struggling of Essex in forum Excel General
    Replies: 5
    Last Post: 01-02-2006, 10:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1