Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub insert4rows()
Sheets("sheet1").Range("BL1").Resize(4).EntireRow. Insert End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "teepee" wrote in message ... Hello I hve some code that inserts 4 lines into a spreadsheet one at a time Is there a line of code that would permit me to put in 4 lines in one go? Many thanks With Sheets("sheet1").Range("BL1:BX1") .Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove End With With Sheets("sheet1").Range("BL1:BX1") .Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove End With With Sheets("sheet1").Range("BL1:BX1") .Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove End With With Sheets("sheet1P").Range("BL1:BX1") .Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
An 'Insert' question | Excel Discussion (Misc queries) | |||
Excel insert question | Excel Worksheet Functions | |||
How can I insert a date with an icon (calendar) insert | Excel Discussion (Misc queries) | |||
Insert Page Break Question | Excel Discussion (Misc queries) | |||
Chart question insert | Excel Worksheet Functions |