I am creating a form which allows the user to select items a-la-carte or as a predefined package. One of my cells needs to revert back to a formula when the package is deselected. Here is what I have:
At issue is the underlined part. How do I enter a formula that fills a cell based on the input of another?
**EDIT**
I think I need to clarify what I'm attempting to accomplish. I have the following code assigned to an activeX checkbox:
I then multiple the result of D22 by 690 and insert it in E22 (the simple formula of =D22*690 is placed in E22). When I run the code in the original post (triggered by an activeX checkbox), it wipes out the formula. I need to revert back to the above formula upon un-checking. Adding the suggested statement displays D22*690 but doesn't act like a formula. 'Show formulas' is not selected. I hope this helps.
Thank you!
Bookmarks