Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Not sure if this is what you need: Sub WSheetOctW3() ' ' WSheetMaster Macro ' Macro recorded 01/10/2003 by sbtp00220 ' If Activesheet.Name="Joe" then Call FormatMainWSheet End If If Activesheet.Name="Joe" Or Activesheet.Name="John" then Call ColorPMMD01 End If Call ColorPMMD02 Call ColorPMMD03 End Sub Regards, Jan Karel Pieterse Excel TA/MVP -----Original Message----- Sub WSheetOctW3() ' ' WSheetMaster Macro ' Macro recorded 01/10/2003 by sbtp00220 ' Call FormatMainWSheet Call ColorPMMD01 Call ColorPMMD02 Call ColorPMMD03 End Sub I want to apply the above macros to different workshhets. On some of them not all the modules apply. How can I avoid the debug error message where a call does not apply on a worksheet. . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
call procedure problem | Excel Discussion (Misc queries) | |||
to call procedure in a worksheet in a module | Excel Discussion (Misc queries) | |||
Create new commandbar with call procedure | Excel Programming | |||
call procedure | Excel Programming | |||
procedure won't call | Excel Programming |