+ Reply to Thread
Results 1 to 3 of 3

Need a macro to copy dates & data from one sheet to an updating archive sheet

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    Greenville, NC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need a macro to copy dates & data from one sheet to an updating archive sheet

    Hello everyone,

    I recently stumbled across a problem when creating a data system in excel for my engineering internship. I need to be able to take the data points and date that the data was entered from an operator spreadsheet (I work in a sulfuric acid plant) and then by creating some magical button/macro, transfer said data and date into another spreadsheet that has a row for all dates with data underneath, and historically plots the data into various scatter plots in a series fashion with one data set after the other from left to right. If at all possible, I also am trying to figure out a way to refresh the worksheet after the data is entered.

    The problem that I'm having isn't that I don't know how to use a macro to copy/paste the data, but moreso create a button that puts the data in an updating series that historically is in order and keeps generating new data points when prompted by the operator sheet, and also keeps on placing data sets down the series (monthly operator sheet) and not in the same location as previous data sets.

    Oh, and the only spreadsheet that is functional is the operator spreadsheet, because operators apparently cannot copy and paste, said my superintendent

    I will be putting up the document as soon as possible, but for now if someone has an idea how to do this, and since I am not exceptional at excel any help would be appreciated. I hope that this will be an easy question to answer!
    Last edited by pbj; 03-06-2013 at 01:22 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Need a macro to copy dates & data from one sheet to an updating archive sheet

    We will be able to help you if we see the attachment.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    Greenville, NC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need a macro to copy dates & data from one sheet to an updating archive sheet

    @arlu1201,

    I am happy to say that the problem has been solved. I basically defined everything (input values, data range, copy/paste area) and macroed a copy/paste of data with date above into the last column of a range that extended all the way to the end of the workbook. Then, continuing on with the macro, I used the sort and filter>custom sort and sorted the data by the top date column from oldest to newest. After ending the macro, installing a button in the operator sheet allowed me to enter data, hit the button, and automatically sort it monthly; at least until the end of the spreadsheet. I figured I'll be long gone by then XD

+ 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