Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Run macro via cell value

Is it possible to run a macro based on the value of a cell. Say for example
A1 contains the word "run" can that word be the trigger to automatically run
a macro?

Pat


  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi Pat

A worksheet formula can not trig a macro. No way.

But a worksheet has several events; macros that run when certain things
happen. There is an event firing when you enter something into a cell,
another when the sheet recalculates, ... see
http://www.cpearson.com/excel/events.htm for more on this.

HTH. Best wishes Harald

"Pat" skrev i melding
...
Is it possible to run a macro based on the value of a cell. Say for

example
A1 contains the word "run" can that word be the trigger to automatically

run
a macro?

Pat




  #3   Report Post  
Pat
 
Posts: n/a
Default

That answers that!
thanks Harald

Pat
"Harald Staff" wrote in message
...
Hi Pat

A worksheet formula can not trig a macro. No way.

But a worksheet has several events; macros that run when certain things
happen. There is an event firing when you enter something into a cell,
another when the sheet recalculates, ... see
http://www.cpearson.com/excel/events.htm for more on this.

HTH. Best wishes Harald

"Pat" skrev i melding
...
Is it possible to run a macro based on the value of a cell. Say for

example
A1 contains the word "run" can that word be the trigger to automatically

run
a macro?

Pat






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to look for empty cell esrei Excel Discussion (Misc queries) 1 April 14th 05 11:57 AM
Can I start a macro from a cell by using a formula PraxisPete Excel Worksheet Functions 1 April 8th 05 08:57 AM
Syntax for inferred cell references donesquire Excel Worksheet Functions 4 April 4th 05 09:29 PM
A Macro that will cut and paste to specific cell VBA12thRoundDraftPick Excel Discussion (Misc queries) 1 March 31st 05 06:11 AM
show macro security setting in a cell Mark Excel Worksheet Functions 3 March 21st 05 07:53 AM


All times are GMT +1. The time now is 09:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"