Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Cheers for the insight into the structure
This should do the trick :====================== Sub CopyData() i = 1: j = 1 Sheets("Home").Select [A2].Select Do Until IsEmpty(ActiveCell) Do Until ActiveCell i Or IsEmpty(ActiveCell) Sheets("Destination").Cells(j + 1, i + 1) = _ ActiveCell.Offset(0, 2).Value j = j + 1 ActiveCell.Offset(1, 0).Select Loop i = i + 1: j = 1 Loop End Sub :============================== http://www.excel-ant.co.uk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy a worksheet to new one with repeat rows 5 times | Excel Discussion (Misc queries) | |||
repeat cell values into other cells x times | Excel Discussion (Misc queries) | |||
Select a row, copy and repeat on the next row | Excel Programming | |||
Select Visible Cells only copy & Paste | Excel Programming | |||
Simple (?) Macro Assistance- Select, Insert, Paste, Rinse, Repeat | Excel Programming |