Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy data question
I have a workbook where each tab is a specific week with labor data and
another master tab that generates the invoice for the time over a given week. Is there a way, from the master invoice tab, to copy the needed labor data from the appropriate tab - possibly through a prompt or entering the week ending date in a cell on the master tab? Each weekly tab is identical in format with the data to be copied residing in cell range C2 - F8. Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy data question
Use an Input box like this
Sub Getweekly() Do Set myCell = Application.InputBox( _ prompt:="Select a Cell on a Weekly Labor Tab", _ Type:=8) WrkSheet = myCell.Worksheet.Name Loop While (WrkSheet = "Master Invoice") Sheets(WrkSheet).Range("C2:F8").Copy _ Destination:=Sheets("Master Invoice").Range("C2") End Sub "brentm" wrote: I have a workbook where each tab is a specific week with labor data and another master tab that generates the invoice for the time over a given week. Is there a way, from the master invoice tab, to copy the needed labor data from the appropriate tab - possibly through a prompt or entering the week ending date in a cell on the master tab? Each weekly tab is identical in format with the data to be copied residing in cell range C2 - F8. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy down question | Excel Worksheet Functions | |||
Advanced VBA Question: Copy data to another sheet to make Validation List | Excel Programming | |||
Macro question - Need to copy data & formatting to another workboo | Excel Programming | |||
copy question | Excel Programming | |||
copy question | Excel Programming |