+ Reply to Thread
Results 1 to 2 of 2

Auto-Sort: How to run more efficiently?

  1. #1
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Midwest
    MS-Off Ver
    Excel 365
    Posts
    124

    Auto-Sort: How to run more efficiently?

    Hello Problem Solvers,

    I have a worksheet with 57 columns that need to be sorted: 19 in columns in rows 3-22, 19 columns in rows 25-44, 19 columns in rows 47-66. At first I recorded a macro and repeated it for each column which looks like this (per column):
    Please Login or Register  to view this content.
    I thought this code seemed rather bulky so I found other code in these archives and now it looks like this (per column):
    Please Login or Register  to view this content.
    The second code is a lot more condensed, but takes longer to process and seems as though its on the verge of crashing the program. Also, whenever the macro runs (on open and every 30 minutes) it selects the "defects" worksheet. I have other code that returns the user to the worksheet they were viewing before it began sorting, but is there a way around viewing the "defects" sheet while it sorts?
    Any suggestions to run a more efficient program are most welcome since this will be processing a lot of data.
    Thanks in advance!

    - Luke
    Last edited by jeffreybrown; 12-21-2012 at 03:35 PM. Reason: Fixed code tags.

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Auto-Sort: How to run more efficiently?

    Try it once Luke.
    Please Login or Register  to view this content.
    Kind regards, Harry.

+ 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