Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim k As Integer
Dim w As Integer For w = 1 To 6 For k = 0 To 100 h = ((2 * (k + 1)) - 1) Cells(h, w).Activate Rows(ActiveCell.Row & ":" & (ActiveCell.Row + 2)).Insert "Mike H" wrote: I can't see where your macro gets a value for h from but one methed of inserting a full row would be. Selection.EntireRow.Insert Mike " wrote: how can I insert three rows between rows of data. right now all i have is activecell.insert but that only inserts one row. Dim k As Integer Dim w As Integer For w = 1 To 6 For k = 0 To 100 h = ((2 * (k + 1)) - 1) Cells(h, w).Activate ActiveCell.Insert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
inserting rows inbetween rows of data ? | Excel Discussion (Misc queries) | |||
Copying & Inserting Rows w/o Affecting other Rows Etc. | Excel Worksheet Functions | |||
Inserting Blank rows after every row upto 2500 rows | Excel Worksheet Functions | |||
Why is inserting rows throwing off my hidden rows | Excel Programming | |||
Inserting multiple rows in excel with data in consecutive rows | Excel Programming |