Home |
Search |
Today's Posts |
#3
![]() |
|||
|
|||
![]()
There was similar question in .programming earlier, this was my response
there Sub ClearCells() Dim cell As Range With ActiveSheet For Each cell In .UsedRange If Not cell.Locked Then cell.ClearContents End If Next cell End With End Sub -- HTH RP (remove nothere from the email address if mailing direct) "Randy" wrote in message ... I am creating a fill in form in excel 2000. I am locking everything except the cells I need filled in. I need a way to clear all entries in these cells after a form is completed and printed. This way the next user has a clean form to begin with. How can I do this...Thanks..Randy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clear cell contents with a button | Excel Worksheet Functions | |||
Command Button VBA code | Excel Discussion (Misc queries) | |||
Macro to simply bring up the Find dialogue box?? | Excel Discussion (Misc queries) | |||
command button moves | Excel Discussion (Misc queries) | |||
How do I insert a 'clear all' button in excel? | Excel Worksheet Functions |