ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Button will not start macro (https://www.excelbanter.com/excel-worksheet-functions/199633-button-will-not-start-macro.html)

Clark

Button will not start macro
 
I need a button, that when selected, will cause the total in another cell to
increase by a given number associated with the button.

AKphidelt

Button will not start macro
 
What is the code of your macro?

It should be a fairly simple macro, like Range("A1").Value =
Range("A1").Value + ButtonValue

"Clark" wrote:

I need a button, that when selected, will cause the total in another cell to
increase by a given number associated with the button.


Clark

Button will not start macro
 
Thanks. I have not written the code because I did not know how. Can you
give me an example is the value I want returned is "2"?

"akphidelt" wrote:

What is the code of your macro?

It should be a fairly simple macro, like Range("A1").Value =
Range("A1").Value + ButtonValue

"Clark" wrote:

I need a button, that when selected, will cause the total in another cell to
increase by a given number associated with the button.



All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com