+ Reply to Thread
Results 1 to 7 of 7

Hiding Columns and Rows Extreme Slow, Tip?

Hybrid View

Excelnoub Hiding Columns and Rows... 11-25-2013, 01:47 PM
Winon Re: Hiding Columns and Rows... 11-25-2013, 01:54 PM
Richard Buttrey Re: Hiding Columns and Rows... 11-25-2013, 02:06 PM
Winon Re: Hiding Columns and Rows... 11-25-2013, 02:25 PM
Excelnoub Re: Hiding Columns and Rows... 11-25-2013, 02:30 PM
Richard Buttrey Re: Hiding Columns and Rows... 11-25-2013, 03:32 PM
Excelnoub Re: Hiding Columns and Rows... 11-25-2013, 03:36 PM
  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Question Hiding Columns and Rows Extreme Slow, Tip?

    I have been looking so an answer on the web but no luck. I have 5 sheets but restrictions from row 1 to 4 (They are locked and not assessable to users) but also my codes make it that no entry beyond row 20 is permitted.

    So row 24 until end of excel rows... 1048576 are not even needed. When I go to Hide all unwanted rows my excel process become slow and “glitchy”

    I have the following for my procedures:

    Application.ScreenUpdating = False / True
    Application.EnableEvents = False / True

    But nothing seems to be fixing this lag.

    Is there any tricks, as soon as I unhide all column or rows then it goes back to working again and fixing the lag issues.

    Weird cause I have no formulas and code working in these section pass row 24... (Well 20 in coding but I have command buttons in 23 disabling me to hide 21 to 23)


    Any thoughts?

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    Hello Excelnoub,

    It would be good if you could post a sample Workbook with your Code for us to have a look at for you.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    It's almost certainly because you are making use of some volatile actions, no doubt hiding or filtering rows, and if you are using some volatile functions then you will be compounding the problem.

    See this Microsoft discussion topic
    http://msdn.microsoft.com/en-us/libr...ffice.14).aspx

    Page down to the section which starts with
    "Speeding up Calculations and Reducing Obstructions"
    and see if that offers any help.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    @ Richard Buttrey,

    Hello Richard,

    I think you are spot on! That is why I have asked to see a sample Workbook with Code and all.

    Kind Regards.

  5. #5
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    Here is an example of my Workbook

    WLRTestdata.xlsm

    Just by going from tabs it slows down and/but when you will get or switch from Tab "Contracts" and "Report", that doesn't have hidden rows/column, it doesn't have to lag'ish feel.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    Hi,

    I don't understand why you think it 'slows down' since it seems fairly normal to me but thereagain I don't really understand your whole process.

    Is this merely an example of a much larger workbook which does have lots of data since this has none.

  7. #7
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Hiding Columns and Rows Extreme Slow, Tip?

    Actually everyone will have a blank workbook like this one and start from scratch....

    I have tried something else, Instead of hiding everything, I have (I was in Break Page view) selected normal view and unselected "Gridlines" and it seems to get the workbook to run faster...

    All of my other cells (Column O to end and row 21 to end) are locked... would this be an issue?

+ 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. Slow Code for Hiding Rows
    By Simon Austin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2009, 08:38 AM
  2. Extreme Slow respond time
    By Patrick Cloutier in forum Excel General
    Replies: 2
    Last Post: 08-16-2006, 08:33 AM
  3. Hiding Columns running slow
    By Armando in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2006, 04:55 PM
  4. [SOLVED] Slow Performance Hiding Rows
    By Fid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-22-2005, 05:05 PM

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