macrolix
New Member
- Joined
- Jan 2, 2021
- Messages
- 4
- Office Version
- 2016
- 2007
- Platform
- Windows
I want to evaluate if a rule (formula) is true against a set of range. Like similar to Conditional Formatting, where we can define a formula as a rule and Excel formats the cells whenever the rule is true.
User will be allowed to enter their desired formula, specify a range and give a value which should be applied if the rule is true (instead of formatting) when they run the VBA code. I have given a sample idea of how the data would look like. Please note that the formula is variable, so I can't hardcode any formula in the VBA coding. Any suggestion would a great help. Thank you.
User will be allowed to enter their desired formula, specify a range and give a value which should be applied if the rule is true (instead of formatting) when they run the VBA code. I have given a sample idea of how the data would look like. Please note that the formula is variable, so I can't hardcode any formula in the VBA coding. Any suggestion would a great help. Thank you.