Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to insert multiple rows at once without
highlighting the same number of rows beforehand? I want to prompt the user to enter their desired number of rows to insert. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() numRows = InputBox("Supply number of rows") If numRows < "" Then Activecell.Resize(numRows,1).Entirerow.Insert End If -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "E. Edgington" wrote in message ... Is there a way to insert multiple rows at once without highlighting the same number of rows beforehand? I want to prompt the user to enter their desired number of rows to insert. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
n = clng( InputBox("Enter number of rows to insert"))
ActiveCell.Resize(n).EntireRow.Insert -- Regards, Tom Ogilvy "E. Edgington" wrote in message ... Is there a way to insert multiple rows at once without highlighting the same number of rows beforehand? I want to prompt the user to enter their desired number of rows to insert. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert multiple rows | Excel Discussion (Misc queries) | |||
how do insert multiple rows in between multiple lines | Excel Discussion (Misc queries) | |||
Insert Multiple Rows | Excel Discussion (Misc queries) | |||
Insert Multiple rows | Setting up and Configuration of Excel | |||
Insert Multiple Rows | Excel Discussion (Misc queries) |