Frank Freese
asked on
Automating as estimate
Experts,
Here's my objective:
Using a command button(s) automate an estimated calculation based on exisitng data and undo without using the Undo button. I am willing to break this into as many individual questions as needed, I just need your help in moving to another questions.
Using a command button(s) so that when the user clicks, a function is called to create the estimate then adding the estimate to another cell. If the user elects not to accept the estimate, have another command button that reverses the first action.
I know how to create a command button but macro drive or Active X? I will need help I creating the functions.
Here's my objective:
Using a command button(s) automate an estimated calculation based on exisitng data and undo without using the Undo button. I am willing to break this into as many individual questions as needed, I just need your help in moving to another questions.
Using a command button(s) so that when the user clicks, a function is called to create the estimate then adding the estimate to another cell. If the user elects not to accept the estimate, have another command button that reverses the first action.
I know how to create a command button but macro drive or Active X? I will need help I creating the functions.
Store the value of the cell before clicking the button and then you can decide whether to add the estimate or restore the original. Hard to be precise without knowing anything about what you are actually doing.
Using an Active X button you can do something like this
Try it in the attached file
cheers,
Curt
Estimator.xls
Try it in the attached file
cheers,
Curt
Estimator.xls
This example has one Active X control button and one Form control button. Both buttons are calling the same macro in module 1. The difference is that the Active X control button is using a "Click" macro which is stored in the Sheet1 module to call the macro.
Cheers,
Curt
Estimator-3.xls
Cheers,
Curt
Estimator-3.xls
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks - I'm eye sore so will look at in detail tomorrow
ASKER
looks like it answered a lot of my questions - good job and thank you