I created an inventory workbook with various images used as buttons each with their own macro assigned. I have one button named EMAIL that the user clicks and it uses VBA to create an email populating the body of the message which works great. I've added a new section and want to assign the EMAIL button an action based on certain parameters but not sure if it's possible.
For example I'd have an if/else statement to decide between 3 different options based on the content. The EMAIL button would be assigned action A, B or C accordingly. Otherwise, I would need to create 3 different EMAIL buttons and hope the user clicks the correct one.
Any help would be appreciated.
For example I'd have an if/else statement to decide between 3 different options based on the content. The EMAIL button would be assigned action A, B or C accordingly. Otherwise, I would need to create 3 different EMAIL buttons and hope the user clicks the correct one.
Any help would be appreciated.