A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

A formula to "clear to zero" multiple cells



 
 
Thread Tools Display Modes
  #1  
Old September 11th, 2008, 04:33 AM posted to microsoft.public.excel.newusers
Douglas Strinz
external usenet poster
 
Posts: 1
Default A formula to "clear to zero" multiple cells

Hello all,

I have made a calculator that has many cells where number values are added.

I would like to make a master RESET button that will clear all the cells
that I program into the formula

Thanks in advance,

Doug
  #2  
Old September 11th, 2008, 01:37 PM posted to microsoft.public.excel.newusers
Don Guillett
external usenet poster
 
Posts: 6,167
Default A formula to "clear to zero" multiple cells

You will have to use a macro something like this.

Sub clearspecifiedcells()
Range("d8,e3").ClearContents
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Douglas Strinz" Douglas
wrote in message
...
Hello all,

I have made a calculator that has many cells where number values are
added.

I would like to make a master RESET button that will clear all the cells
that I program into the formula

Thanks in advance,

Doug


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:52 AM.


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