Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
public sub worksheet_change ever possible?
I don't mean it in the syntax way but conceptually can
worksheet_change be in public scope? Instead of copying and pasting the same code for each sheet vba coding, I was wondering if there's way to put worksheet_change in thisworkbook and call the function from each sheet. TIA, Daniel |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
public sub worksheet_change ever possible?
Maybe you could use the Workbook_sheetchange() event.
wrote: I don't mean it in the syntax way but conceptually can worksheet_change be in public scope? Instead of copying and pasting the same code for each sheet vba coding, I was wondering if there's way to put worksheet_change in thisworkbook and call the function from each sheet. TIA, Daniel -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
public sub worksheet_change ever possible?
Jiheon,
The workbook_sheetchange() event fires after the worksheet_change() event. So you can probably tweak your worksheet_change code and make it work in the workbook_sheetchange event... -- Hope that helps. Vergel Adriano " wrote: I don't mean it in the syntax way but conceptually can worksheet_change be in public scope? Instead of copying and pasting the same code for each sheet vba coding, I was wondering if there's way to put worksheet_change in thisworkbook and call the function from each sheet. TIA, Daniel |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Public is not Public | Excel Programming | |||
Use of PUBLIC | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming |