macro with button...
Posted by Stacy on November 24, 2001 10:58 AM
Can anyone PLEASE help me? I want to create a button on my toolbar that will insert the rounding formula into an existing formula in a cell or cells that I highlight. Can this be done by macros and then assigning the macro to a button? I can't just format the cells to show no decimal places, it won't foot...
For example:
cell A3 contains... =55.03*29.645
I want to be able to highlight cell A3, click the button, and the result in A3 would then be:
=round(55.03*29.645,0)
I also want to be able to create a 2nd button that would result with:
=round(55.03*29.645,2)