+ Reply to Thread
Results 1 to 4 of 4

Macro with calendar runs slow

  1. #1
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Macro with calendar runs slow

    Hello,

    I am working on a macro which hides rows depending on the date that you select from a calendar I have created. The problem is that this macro runs quite slow and would appreciate if someone could help me on this to make it run a bit better.

    I have attached the excel sheet so that you can better see it.

    Any help would be much appreciated.

    Thanks!!
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Macro with calendar runs slow

    You have attached a zipped sample workbook that is 1.27 MB.
    That is way to big for somebody to want to help you with your problem.

    There is no way that your question requires such a large workbook.

    Please supply a workbook that only reflects to your question.

  3. #3
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro with calendar runs slow

    Hello,

    Yes is quite big. I tried to delete some things but its still maybo too heavy.

    I herewith attach the the code which makes run slow the macro just in case someone can detect something that makes it run slowly.

    Please Login or Register  to view this content.

    Im sure that what is giving the problem here is that my range goes up to row 50.000 !!
    But the reason why Im selecting so huge range is because there is a lot of data that I will be introducing and would like to have a big range to work with. Maybe someone knows how to optimize better this code.

    Thank you very much.

    Regards

  4. #4
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro with calendar runs slow

    Hello,

    Found the error, nothing to be with the code I uploaded. There where too many formulas on it that was slowing it down.

    regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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