[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

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.
0
Frank Freese
Asked:
Frank Freese
  • 4
  • 2
1 Solution
 
StephenJRCommented:
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.
0
 
Curt LindstromCommented:
Using an Active X button you can do something like this

Try it in the attached file

cheers,
Curt
Estimator.xls
0
 
Curt LindstromCommented:
This example may be a bit better

Curt
Estimator-2.xls
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Curt LindstromCommented:
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
0
 
Curt LindstromCommented:
With Undo button added

Cheers,
Curt
Estimator-4.xls
0
 
Frank FreeseAuthor Commented:
thanks - I'm eye sore so will look at in detail tomorrow
0
 
Frank FreeseAuthor Commented:
looks like it answered a lot of my questions - good job and thank you
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now