+ Reply to Thread
Results 1 to 5 of 5

Question about tidying up a macro to remove all slow down bits

  1. #1
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    876

    Question about tidying up a macro to remove all slow down bits

    Afternoon happy campers,

    I am working on a sheet at present and so far my code includes LOTS of Range.Select, a sample taken from it is as follows:

    Please Login or Register  to view this content.
    Essentially i am recording a macro that will be saved into my personal workbook (to open every time i open excel) and the macro will be used each monday to copy the formulas into the sheet relevant to the week.
    Although the macro doesnt run incredibly slow, i wanted to know if having all the .select bits could be removed to streamline the coding.

    Many thanks in advance.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Question about tidying up a macro to remove all slow down bits

    Yes, you can use
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    876

    Re: Question about tidying up a macro to remove all slow down bits

    Ok thanks for that, the next question then would be;

    How can i change that on mass, i mean there is almost 100 lines of that code

    so current layout is
    Please Login or Register  to view this content.
    And i want to change it to
    Please Login or Register  to view this content.
    Regards

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Question about tidying up a macro to remove all slow down bits

    That's a little bit more complicated.... I guess you would need to do a find and replace for select & new line & activecell. but I don't know how/if that is possible.

  5. #5
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    876

    Re: Question about tidying up a macro to remove all slow down bits

    ok not to worry, thank you very much anyway :D

+ 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. [SOLVED] Excel 2007 32 bits excel userform to Excel 2013 64 bits
    By sebastienkanj in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-12-2013, 05:56 AM
  2. [SOLVED] slow computer (slow clipboard) breaks my macro
    By twilsonco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2013, 09:16 PM
  3. [SOLVED] Looking for help tidying up Macro vba code / visible/non visible buttons
    By darrenkaye in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-03-2012, 11:50 AM
  4. Do Until Loops: Tidying recorded macro
    By somesoldiers in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-28-2009, 01:47 PM
  5. Purging left-over bits of macro...
    By kunkel321 in forum Excel General
    Replies: 5
    Last Post: 04-17-2007, 07:26 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