Run macro automatically [Solved/Closed]

- - Latest reply:  Guest - Dec 8, 2016 at 07:02 AM
Hello,
I wrote a macro and I want to run it automatically if one special cell change but have problem, because contents cell change by formula in other cell and user must not change any cell, therefore result of formula change in cell but macro not run?!
Thanks
See more 

2 replies

Best answer
Posts
191
Registration date
Sunday April 12, 2009
Status
Member
Last seen
February 16, 2010
209
5
Thank you
Try to run the macro as below

copy your code here and you can select it from VBA windows by selecting desired Sheet then on right side window from drop down menu select Worksheet instead of General and from other drop down select Calculate


Private Sub Worksheet_Calculate(ByVal Target As Range)


End Sub

Say "Thank you" 5

A few words of thanks would be greatly appreciated. Add comment

CCM 5794 users have said thank you to us this month

It would be nice if a real example was shown so people new to this could see how it actually works
0
Thank you
Rename your macro to auto_open
Thank you Saint - hours of frustration resolved with a most simple solution!