+ Reply to Thread
Results 1 to 2 of 2

How to detect data ranges, and move data between worksheets

  1. #1
    Registered User
    Join Date
    08-05-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2003
    Posts
    61

    How to detect data ranges, and move data between worksheets

    Greetings, each month I perform a repetitive task on about 50 workbooks similar to the example one I've included. My task is to select all data and formatting in 'Current', copy and paste 4 rows below the last row with data in 'Archive'. Then I return to 'Current' and clear out the data in columns G through K (excep column headings that is). Lastly, I update the date ranges in those same columns, and change the month in the date cell.

    I hope to create a macro to automate some of these tasks. For instance, I would be very nice if I could run a script that would copy the data range in 'Current' over to the bottom of 'Archive' for every workbook in a specific folder. That alone would save me a great deal of time.

    I've tried recording macros to do this, but it tends to only work on the one workbook and if I add or remove rows this also tends to muck up the macro. Any solutions or advice is greatly appreciated.

    A.M.
    Attached Files Attached Files
    Last edited by oOarthurOo; 08-05-2009 at 12:24 PM. Reason: Fixed typos

  2. #2
    Registered User
    Join Date
    08-05-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: How to detect data ranges, and move data between worksheets

    I found a part of the solution in another post in this subforum. Now I need to find the code to perform the other operations. I believe that code (for copying and pasting contents of sheets) will go where there is currently italicized red text.
    Please Login or Register  to view this content.
    Last edited by oOarthurOo; 08-05-2009 at 02:59 PM. Reason: format changes to code. Fixed assumption error in question

+ 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