Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
right now i'm using the following code to transfer data. instead of
reapeating the line 26 times is there a way to create this code in a smaller statement if the data row always increases by 20 and the daily row by 1. Private Sub Command1_Click() Dim Daily As Worksheet Dim Data As Worksheet Set Daily = Worksheets("Daily") Set Data = Worksheets("Data") Daily.Range("A12").Value = Data.Range("A5").Value Daily.Range("A32").Value = Data.Range("A6").Value 'all the way down to' Daily. Range("A562").Value=Data.Range("A30").Value End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Drop down lists to transfer data between worksheets | Excel Worksheet Functions | |||
Transfer data from multiple worksheets | Excel Discussion (Misc queries) | |||
transfer data between worksheets | Excel Programming | |||
Transfer data between worksheets | Excel Programming | |||
Transfer data between worksheets | Excel Programming |