+ Reply to Thread
Results 1 to 5 of 5

Speeding up a Macro (Shorten Code)

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Oxford
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    120

    Exclamation Speeding up a Macro (Shorten Code)

    Hey all,

    I have written a Macro but it takes along time to do what I want it to. I am new to VB so to I have probable coded it in a long way.

    if any one could look at the code and let me know any bits I can cut out or change that would be great.

    Please Login or Register  to view this content.
    Last edited by t0m46; 07-07-2010 at 09:25 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Speeding up a Macro (Shorterning Code)

    t0m46
    one change
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Speeding up a Macro (Shorterning Code)

    You don't need to make the data sheet visible or select it.

    The progress bar will probably slow it down somewhat.

    I can't test this
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Speeding up a Macro (Shorterning Code)

    See if this is any faster:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Oxford
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    120

    Re: Speeding up a Macro (Shorterning Code)

    Hey,

    Took some from each one of you. does work faster but it think it is just going to be a slow macro.

    thanks for your help

    Tom

+ 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