Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All the sheets are protected with password, therefore I´ts also necessary
to unprotect, and then protect the sheets in that same code. Assuming they were all unprotected at the time. -- Don Guillett SalesAid Software "liddlem " wrote in message ... Hi Jonsson Provided that you want to insert a row at the same place on ALL your worksheets, you could use the following code. 'Select multiple worksheets. Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Select Select and insert the row that you wish Sheets("Sheet1").Activate Rows("3:3").Select Selection.Insert Shift:=xlDown One row has been inserted into each of the worksheets. Hope this helps --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro auto inserting rows and formulas | Excel Discussion (Misc queries) | |||
Macro Help- Inserting Blank Rows | Excel Discussion (Misc queries) | |||
Inserting Blank Rows Macro? | Excel Worksheet Functions | |||
Inserting Rows Through a Macro | Excel Programming | |||
INSERTING ROWS WITH A MACRO | Excel Programming |