![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 177
|
Basically, if a cell in my worksheet equals "1", run Macro X. Is there a formula I can put into the worksheet (i.e. =if(B47=1,application.run "macro",0) which of course doesn't work!, or do I have to use some code in the macro that watches the value of the cell?
Thanks! |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: =ActiveCell.Address
Posts: 478
|
I don't think so, but the second option you suggest is possible and there are several versions of that on the message board e.g.
http://www.mrexcel.com/board/viewtop...c=4474&forum=2 |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 177
|
Thanks!
That works & got me to the next step! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|