+ Reply to Thread
Results 1 to 2 of 2

Excel Macros to autofill data in timesheet spreadsheet

  1. #1
    Registered User
    Join Date
    04-29-2010
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel Macros to autofill data in timesheet spreadsheet

    I am a newbie to Excel macros and have a question regarding using macros To autofill spreadsheets.

    Each week we collect data from time sheets that are e-mailed from foremen out in the field. These sheets include names, dates, job numbers, and hours worked. (Please see attached examples from two foremen.) We copy and paste this data into a spreadsheet, sort the data, and then enter it into our software system for Payroll.

    Right now we are opening a workbook, selecting and copying data from an individual time sheet, switching to the spreadsheet to paste it, and then switching back again to the workbook to move on to the next time sheet, etc..

    I would like to find a way to either collect the data I want from the entire workbook at one time to paste in, or at the very least, to record a macro that will copy the data I've selected on a sheet, paste it onto the spreadsheet, move down a row ready for the next batch of data, and return me to the open worksheet (to cell A13, for example), so that I do not have to manually switch back and forth between the time sheets and the spreadsheet. (So that I click on a worksheet tab, select data, macro, click on next tab, select data, macro, etc., without having to switch to the spreadsheet until I'm done collecting the data from the entire workbook.)

    I have come close to this with some minor macro adjustments, but do not understand about macro writing, so have not gotten a completely satisfactory setup yet.

    I have attached the files that I am working with. I would so appreciate any help as this would take HOURS off each week's work.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Excel Macros to autofill data in timesheet spreadsheet

    Hi

    Put your 4 files above into the same directory. Then rename the file 00...semi final to be something like 200...... (Just make sure it doesn't start with 00).

    In the workbook 00location_sheet_example.xls, insert a general module and put in the code

    Please Login or Register  to view this content.
    Run it and see how it goes.

    rylo

+ 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