Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting multiple rows...
How do I insert multiple rows at once?
Like ws.Rows(j + 1).Insert i - 1 this adds one row, I need i-1 rows I cannot find it in the help, or do I need a for loop? WBR Sonnich |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting multiple rows...
One way:
ws.Rows(j + 1).Resize(i - 1).Insert In article . com, Sonnich Jensen wrote: How do I insert multiple rows at once? Like ws.Rows(j + 1).Insert i - 1 this adds one row, I need i-1 rows I cannot find it in the help, or do I need a for loop? WBR Sonnich |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Inserting multiple rows | Excel Discussion (Misc queries) | |||
Inserting Multiple rows | Excel Discussion (Misc queries) | |||
Inserting Multiple Rows | Excel Programming | |||
Inserting Multiple Rows | Excel Discussion (Misc queries) | |||
Inserting multiple rows in excel with data in consecutive rows | Excel Programming |