+ Reply to Thread
Results 1 to 3 of 3

Speed Up Macro in VBA

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    92

    Speed Up Macro in VBA

    Hi,
    I have used alot of If statement to hide and unhide rows depending on the option selected from several drop down lists. To do this I used "Private Sub Worksheet_Change(ByVal Target As Range)". It works fine but since everytime i enter a value all these if statements run, the program becomes slow.

    Is there a more effective and efficient way to do this.

    Any help is much appriciated
    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: Speed Up Macro in VBA

    is there specific cells you are trying to trap changes in to trigger the event or is it really any cell update that you are looking for?

    would a "calculate" button attached to a macro do what you are trying to do

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Speed Up Macro in VBA

    Hi,

    No, there are no calculations. Its just a form so I am hiding selected areas depending on which one they select from the list.

    Thanks

+ 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. Is there any way to speed up this macro?
    By kestefon in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-06-2013, 03:28 PM
  2. Speed up macro
    By Duncan1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2007, 09:46 PM
  3. Help, need to speed up this macro
    By retseort in forum Excel General
    Replies: 3
    Last Post: 01-12-2006, 08:35 AM
  4. Macro Speed
    By Don Lloyd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-28-2005, 02:06 PM
  5. Speed-up a macro!
    By maca in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2005, 02: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