ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   executing a macro from within a cell (https://www.excelbanter.com/excel-programming/298203-executing-macro-within-cell.html)

kduntley

executing a macro from within a cell
 
I'm trying to cause a macro to execute as soon as a value in a cell changes. I have not been able to find a way to do it directly or to identify a simple work arround. any help would be greatly appreciated.

Frank Kabel

executing a macro from within a cell
 
Hi
you need an event procedure for this (e.g. use the worksheet_change
event for this). See
http://www.cpearson.com/excel/events.htm

--
Regards
Frank Kabel
Frankfurt, Germany


kduntley wrote:
I'm trying to cause a macro to execute as soon as a value in a cell
changes. I have not been able to find a way to do it directly or to
identify a simple work arround. any help would be greatly
appreciated.



JE McGimpsey

executing a macro from within a cell
 
You'll need an event macro. See

http://www.mvps.org/dmcritchie/excel/event.htm

http://cpearson.com/excel/events.htm


In article ,
"kduntley" wrote:

I'm trying to cause a macro to execute as soon as a value in a cell changes.
I have not been able to find a way to do it directly or to identify a simple
work arround. any help would be greatly appreciated.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com