Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
find&press button Alex New Users to Excel 1 February 18th 10 03:39 PM
Is It Possible To Have... After A Button Press A Message Pops Up ? Chris Excel Worksheet Functions 2 May 30th 08 04:03 PM
My delete row button deletes only the cell not the row. Bug? David4OHAN Excel Discussion (Misc queries) 1 July 11th 06 02:02 AM
key Press on Forms Button Todd Huttenstine Excel Programming 10 May 21st 04 07:28 PM
Proteting against a button press John Baker Excel Programming 3 October 25th 03 12:14 AM


All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"