Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() If I want to apply a macro to all sheets except for a certain sheet, say sheet "source data", what should I do? Thank you for your help. below is my current code. Thank you for your help! Public Sub insertrowinallsheets() Dim sheet As Variant For Each sheet In ActiveWorkbook.Sheets sheet.Cells.Find("CostClub").EntireRow.Insert Next sheet End Sub -- minrufeng ------------------------------------------------------------------------ minrufeng's Profile: http://www.excelforum.com/member.php...o&userid=26208 View this thread: http://www.excelforum.com/showthread...hreadid=515068 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting Last Sheet | Excel Worksheet Functions | |||
Autofilter Lists across Multiple Sheets, Maintain Correct Referenc | Excel Worksheet Functions | |||
In 3 active sheets in wkbk, determine& display the # of sheets that have data | Excel Discussion (Misc queries) | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Does excel recognise names rather than cells? | Excel Worksheet Functions |