Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50067

[SOLVED] Macro to move data from one sheet to another

$
0
0
I have a workbook (attached). In the sheet named "Snow Hours" I have employees enter the work date in cell C1, and hours or tons in column C3 for each item in C2.

I am trying to make a macro, that for every item they have an entry for in column C3, the macro will enter the data into the sheet named "Snow Unpaid" in the proper column (The columns are titled). The columns it would fill in are Cust Id, Equipment, Dates, Hours or Tons, and Done? (filled in with the word "Yes"). The date for each item sent to the "Snow Unpaid" sheet would be the same date they entered in cell C1. The macro would be assigned to the button on the worksheet.

If any rows are left blank when they are entering in C3(not filled in), I wouldn't want it sent to the "Snow Unpaid" sheet.

I have an existing macro with the page setup differently, and it works fine. I was trying it this way to have the user to have to enter less data, and I am lost on how to accomplish it.
Attached Files

Viewing all articles
Browse latest Browse all 50067

Trending Articles