LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

How do they fix a typo?

But if you want...

rightclick on the worksheet tab that should have this behavior. Select view
code and paste this in the code window.

Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)

Dim myCell As Range
Me.Unprotect Password:="hi"
For Each myCell In Target.Cells
If myCell.Value = "" Then
'do nothing
Else
myCell.Locked = True
End If
Next myCell
Me.Protect Password:="hi"

End Sub

Change the password in both spots.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bill gillan wrote:

Thanks for your response. Yes, what I want is to allow staff to enter data
into cells but not be able to then delete that information after they have
entered. Therefore have "input permission" but not deletion. I hope this
makes sense.

Regards

Bill

"Peo Sjoblom" wrote:

Do you mean "but once entered information cannot be deleted"?

--
Regards,

Peo Sjoblom

(No private emails please)


"bill gillan" <bill wrote in message
...
I wish to allow people to enter data etc into a cell, but once entered,
that
information can be deleted.

Any help would be greatly appreciated.

Thanks

Bill




--

Dave Peterson
 
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
Cell Protection biglautz Excel Worksheet Functions 3 May 23rd 05 11:38 PM
Cell protection in Excel is lost when file is uploaded to website. Mandrake Excel Discussion (Misc queries) 0 March 15th 05 04:53 PM
Conditional Cell Protection Gyges Excel Discussion (Misc queries) 1 March 9th 05 08:43 PM
watermark in an individual cell Jim Excel Worksheet Functions 1 February 4th 05 01:34 AM
format cell protection Swan Excel Worksheet Functions 1 February 2nd 05 02:36 AM


All times are GMT +1. The time now is 01:14 PM.

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

About Us

"It's about Microsoft Excel"