ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can I delete 1 from the value of a cell when I press a Button. (https://www.excelbanter.com/excel-programming/326771-how-can-i-delete-1-value-cell-when-i-press-button.html)

Gary

How can I delete 1 from the value of a cell when I press a Button.
 
I am trying to create a stock / ordering sheet. When I press a button I want
the stock coloumn to delete 1 from the value in the stock cell. Every time I
try I get a circular refernce error.

Can Anyone help.

Gary

Ron de Bruin

How can I delete 1 from the value of a cell when I press a Button.
 
You can use this Gary
Range("A1").Value = Range("A1").Value - 1


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Gary" wrote in message ...
I am trying to create a stock / ordering sheet. When I press a button I want
the stock coloumn to delete 1 from the value in the stock cell. Every time I
try I get a circular refernce error.

Can Anyone help.

Gary




Gary

How can I delete 1 from the value of a cell when I press a Button.
 
Thanks \ron, much appreciated

"Gary" wrote:

I am trying to create a stock / ordering sheet. When I press a button I want
the stock coloumn to delete 1 from the value in the stock cell. Every time I
try I get a circular refernce error.

Can Anyone help.

Gary



All times are GMT +1. The time now is 08:31 AM.

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