Solved

Automating as estimate

Posted on 2011-03-09
7
226 Views
Last Modified: 2012-05-11
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
Comment
Question by:Frank Freese
  • 4
  • 2
7 Comments
 
LVL 24

Expert Comment

by:StephenJR
ID: 35088701
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
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35089728
Using an Active X button you can do something like this

Try it in the attached file

cheers,
Curt
Estimator.xls
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35089794
This example may be a bit better

Curt
Estimator-2.xls
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 35089834
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
 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 500 total points
ID: 35089899
With Undo button added

Cheers,
Curt
Estimator-4.xls
0
 

Author Comment

by:Frank Freese
ID: 35090736
thanks - I'm eye sore so will look at in detail tomorrow
0
 

Author Closing Comment

by:Frank Freese
ID: 35095250
looks like it answered a lot of my questions - good job and thank you
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvieā€¦
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question