Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default how to reset data entry cells to 0 or empty

Is there a form button a spreadsheet user can use to reset data entry cells
to 0 or empty?

TIA
Bruce


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default how to reset data entry cells to 0 or empty

You'd have to code the cells yourself. E.g.,

Private CommandButton1_Click()
Range("A1").Value = ""
Range("B1").Value = ""
' etc
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Bruce" wrote in message
...
Is there a form button a spreadsheet user can use to reset data
entry cells to 0 or empty?

TIA
Bruce



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default how to reset data entry cells to 0 or empty

PS
I posted this question on 8.3.06, but cannot access the response from Norman
Jones.

Bruce


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default how to reset data entry cells to 0 or empty

Hi Bruce,

Try assigning the following code to a button:

'=============
Public Sub Tester()
Dim rng As Range

Set rng = Range("DataEntry") '<<==== CHANGE

rng.ClearContents

End Sub
'<<=============


---
Regards,
Norman


"Bruce" wrote in message
...
PS
I posted this question on 8.3.06, but cannot access the response from

Norman
Jones.

Bruce




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default how to reset data entry cells to 0 or empty

Thanks Tom and Chip.
I eventually got access to a reply from Norman, which mirrors yours. It
works fine, just a shame macros have to be enabled.

Cheers
Bruce


Hi Bruce,

Try assigning the following code to a button:

'=============
Public Sub Tester()
Dim rng As Range

Set rng = Range("DataEntry") '<<==== CHANGE

rng.ClearContents

End Sub
'<<=============


---
Regards,
Norman


"Bruce" wrote in message
...
PS
I posted this question on 8.3.06, but cannot access the response from

Norman
Jones.

Bruce






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
Formula refers to empty cells even when cells contains data Monica Rustogi Excel Worksheet Functions 1 February 25th 10 06:56 PM
fill in empty cells with previous entry in column allan Excel Discussion (Misc queries) 2 August 13th 09 05:49 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM
Reset data entry fields to 0 or nothing Bruce[_9_] Excel Programming 2 March 15th 06 01:46 AM


All times are GMT +1. The time now is 12:36 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"