+ Reply to Thread
Results 1 to 2 of 2

How to improve macro performance for copying rows from one sheet to another

  1. #1
    Registered User
    Join Date
    01-05-2011
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    1

    Smile How to improve macro performance for copying rows from one sheet to another

    I have a macro which searches through all the rows one sheet and copies each row to another sheet dependant upon the value in a particular cell (quite proud of this as it took me a while to get it working).

    The macro runs very slowly though flickering between sheets. Is there some way I can improve the performance of the macro or is there a better way of doing what I am trying to do?

    Please Login or Register  to view this content.

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

    Re: How to improve macro performance for copying rows from one sheet to another

    Without seeing the data layout, I would suggest automating AutoFilter within the code if possible. This will be much faster than looping

    Edit: see this earlier post
    Last edited by royUK; 01-05-2011 at 09:47 AM.
    Hope that helps.

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

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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