+ Reply to Thread
Results 1 to 8 of 8

Formatting Data from one sheet to another to appear in acsending date order

  1. #1
    Registered User
    Join Date
    06-19-2007
    Posts
    18

    Formatting Data from one sheet to another to appear in acsending date order

    Hello wonderful excel helpers!

    I am stumped on how to get information from one sheet "Status Report" in which the Order Date is located in Column I to transfer to another sheet "Status by Date". I need all of the information in each column A4:14 all the way down to A41:I41 and I need them to be sorted by Order Date. I have a feeling I need to come up with some sort of Macro but am not completely sure.
    I have attached the document.

    I appreciate any assistance!

    Thank you kindly!
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jendew,

    The Macro below has been added to your workbook (the attached workbook). The macro is run by clicking the button on Status Report worksheet.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-19-2007
    Posts
    18

    Thank You!

    Leith,

    I cannot thank you enough for your assistance! You are a savior! This site is amazing and I cannot tell you enough how much I appreciate your help!!! THANK YOU!

  4. #4
    Registered User
    Join Date
    06-19-2007
    Posts
    18

    Adjusting Macro formula to start on Row 3 instead of 1

    Hello again,

    Just a quick question.. I have tried to change the formula myself to start the data in the macro at row 3 instead of 1 but with no luck... go figure! Which line needs to change to make this possible?

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jendew,

    There are 2 variables that change the starting rows.StartRow controls the starting row for the Status Report and CurrentRow controls the starting row for Status by Date.

    To change the values you will need to do the following...
    1. Open your workbook
    2. Use the keys Alt+F11 to open the Visual Basic Editor
    3. Use the keys CTRL+R to position the cursor in the Project Explorer window.
    4. Press the Down Arrow Key until you highlight Modules
    5. If the Modules Key is not open then press the Right Arrow Key to open it
    6. Press the Down Arrow Key to select Module1
    7. Press Enter to display the macro
    8. Make your changes and save the changes with CTRL+S

    Sincerely,
    Leith Ross

  6. #6
    Registered User
    Join Date
    06-19-2007
    Posts
    18

    error

    I keep getting an error when I change the Currentrow to another number... I am changing it where it says:

    StartRow = 4
    Currentrow = 4

    If I change the CurrentRow to 5 it works but causes an error in this line:
    Please Login or Register  to view this content.
    I am thoroughly confused at this point. I have tried changing about everything I could and I can get it to work but it returns with errors.


    Sorry to be such a pest.........
    Last edited by VBA Noob; 09-20-2007 at 12:34 PM.

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jendew,

    Email me a copy of the workbook to look at. I'll fix any problems I can, and post back with the corrected workbook. My email is [email protected]

    Sincerely,
    Leith Ross

  8. #8
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Everyone,

    Here is the updated macro as promised..
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ 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