How to run 2 macros when worksheet is updated
Closed
Veronika
-
16 Sep 2011 à 04:53
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 16 Sep 2011 à 09:15
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 16 Sep 2011 à 09:15
Related:
- How to run 2 macros when worksheet is updated
- Tentacle locker 2 app store - Download - Adult games
- My cute roommate 2 - Download - Adult games
- Fnia 2 - Download - Adult games
- Feeding frenzy 2 - Download - Arcade
- Resident evil 2 remake free download - Download - Horror
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
16 Sep 2011 à 09:15
16 Sep 2011 à 09:15
No a macro can have more than one macro.
However your macro needs parameters. I dont see you passing any thing when you call Worksheet_Change.
Other issue is that your both are functions. Function return value. So in the change event had you even passed the parameter to your two functions, it would not matter as the function values are not used.
you can try to add
Application.volatile to both functions. This would result if there is any change in any formula, this function would be recalcuated too.
However your macro needs parameters. I dont see you passing any thing when you call Worksheet_Change.
Other issue is that your both are functions. Function return value. So in the change event had you even passed the parameter to your two functions, it would not matter as the function values are not used.
you can try to add
Application.volatile to both functions. This would result if there is any change in any formula, this function would be recalcuated too.