• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • 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
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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