Consulting

Results 1 to 10 of 10

Thread: Solved: How to speed-up Macro?

  1. #1

    Solved: How to speed-up Macro?

    Hi there,
    Anyone can help me how to speedup my macro in excel file which contains formula cells, link chart and etc .

    i try add ...
    "Application.Screenupdating = False"

    but processing still slow .
    Is it any code to speed the process? ..


    Thanks,

    Mohd Azrie
    Bt Pahat, Johor, Malaysia.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    Application.Calculation = xlCalculationManual

    'your code

    Application.Calculation = xlCalculationAutomatic
    [/vba]

    Also, if you are selecting cells, that is inefficient and unnecessary.

  3. #3
    xld,

    I tried, but my process still slow ....
    is that any way i can do?.

    Thanks anyway....

    Mohd Azrie
    Bt Pahat, Johor, Malaysia.

  4. #4
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    there is an excellent article in the articles section of this forum

  5. #5
    You could also upload the code, if it's not classified. Someone here might be expert enough to optimize it.

  6. #6

    Link Broken

    Quote Originally Posted by tpoynton
    there is an excellent article in the articles section of this forum
    When I click the link:
    Invalid Article specified. If you followed a valid link, please notify the administrator

  7. #7
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    It worked for me MrRhodes....
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  8. #8
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    220
    Location
    Link is invalid

    Invalid Article specified. If you followed a valid link, please notify the administrator

  9. #9
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    There are a few in there.

  10. #10
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

Posting Permissions

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