+ Reply to Thread
Results 1 to 3 of 3

auto data sort ?

  1. #1
    Registered User
    Join Date
    09-26-2008
    Location
    australia
    Posts
    4

    auto data sort ?

    hi ,

    how do I get excel to auto sort my data ?

    i don't want to do it manually every time I pull up a worksheet

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Avenger, you could certainly do this with a macro. If you want it to run when the workbook opens, you would enter the code below into the ThisWorkbook module in the VBA Editor (ALT+F11). Below are examples of how sorting is done in VBA for both Excel 2003 (and earlier versions), as well as Excel 2007.

    Excel 2003 and earlier:
    Please Login or Register  to view this content.
    Excel 2007:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-26-2008
    Location
    australia
    Posts
    4
    Awesome , thanks for your help paul.

+ 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. sort data
    By shahcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2008, 07:26 AM
  2. Various macro issues linked to DDE
    By JMann in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-16-2008, 08:08 AM
  3. auto sort by date event macro
    By SMUGGLINGSTONES in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2008, 01:04 PM
  4. auto refresh of web data
    By jamiepullen in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-30-2007, 04:42 PM
  5. Not sure how to transfer data then sort it.
    By Mark_gage in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2007, 03:46 AM

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