Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Protect a Cell - Only insert should be possible, not deletion

Scenario...
I want to track the customers who walked in during a training.
5 key users will be using the shared workbook at the same time. Only one
column would be available for use. All others would be password protected.
The users will be able to select only "yes" from the drop down list.
Once selected and saved, no user should be able to delete this from the cell.

Please help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Protect a Cell - Only insert should be possible, not deletion

Assumed Col A is used and rest of columns need to protect.

Ctrl + A | Ctrl +1 | protection tab | uncheck locked and hidden | ok

Select all the columns except Col A , Ctrl + 1 | protection tab |
check locked | ok

Now go tools | protection | protect sheet | ok

to share the workbook | tools | share workbook | ok



On Feb 11, 12:45*pm, Fuzzy wrote:
Scenario...
I want to track the customers who walked in during a training.
5 key users will be using the shared workbook at the same time. Only one
column would be available for use. All others would be password protected..
The users will be able to select only "yes" from the drop down list.
Once selected and saved, no user should be able to delete this from the cell.

Please help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Protect a Cell - Only insert should be possible, not deletion

Thanks Muddan... but I dont think you understood.

I got how to protect all columns except the Col A...

my doubt is in the edit option for a cell in Col A.... user should only be
able to insert a word in the cell....user should not be able to delete the
same word once it has been inserted.....

"muddan madhu" wrote:

Assumed Col A is used and rest of columns need to protect.

Ctrl + A | Ctrl +1 | protection tab | uncheck locked and hidden | ok

Select all the columns except Col A , Ctrl + 1 | protection tab |
check locked | ok

Now go tools | protection | protect sheet | ok

to share the workbook | tools | share workbook | ok



On Feb 11, 12:45 pm, Fuzzy wrote:
Scenario...
I want to track the customers who walked in during a training.
5 key users will be using the shared workbook at the same time. Only one
column would be available for use. All others would be password protected..
The users will be able to select only "yes" from the drop down list.
Once selected and saved, no user should be able to delete this from the cell.

Please help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Protect a Cell - Only insert should be possible, not deletion

check this one

http://www.ozgrid.com/forum/showthread.php?t=65023


On Feb 11, 2:19*pm, Fuzzy wrote:
Thanks Muddan... but I dont think you understood.

I got how to protect all columns except the Col A...

my doubt is in the edit option for a cell in Col A.... user should only be
able to insert a word in the cell....user should not be able to delete the
same word once it has been inserted.....

"muddan madhu" wrote:
Assumed Col A is used and rest of columns need to protect.


Ctrl + A | Ctrl +1 | protection tab | uncheck locked and hidden | ok


Select all the columns except Col A , Ctrl + 1 | protection tab |
check locked | ok


Now go tools | protection | protect sheet | ok


to share the workbook | tools | share workbook | ok


On Feb 11, 12:45 pm, Fuzzy wrote:
Scenario...
I want to track the customers who walked in during a training.
5 key users will be using the shared workbook at the same time. Only one
column would be available for use. All others would be password protected..
The users will be able to select only "yes" from the drop down list.
Once selected and saved, no user should be able to delete this from the cell.


Please help.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Protect a Cell - Only insert should be possible, not deletion

Fuzzy

You need event code to lock the cell after a selection is made.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo enditall
Application.EnableEvents = False
If Target.Cells.Column = 1 Then
Me.Protect Password:="justme", userinterfaceonly:=True
If Target.Value < "" Then
Target.Locked = True
End If
End If
enditall:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code". Copy/paste the code into that
module.

Edit password if you choose.

To prevent users from seeing the password and code, close that Module then.

Right-click on your workbook/project and select VBAProject
PropertiesProtectionLock from viewing.

Enter a password and save the workbook.


Gord Dibben MS Excel MVP



On Wed, 11 Feb 2009 01:19:02 -0800, Fuzzy
wrote:

Thanks Muddan... but I dont think you understood.

I got how to protect all columns except the Col A...

my doubt is in the edit option for a cell in Col A.... user should only be
able to insert a word in the cell....user should not be able to delete the
same word once it has been inserted.....

"muddan madhu" wrote:

Assumed Col A is used and rest of columns need to protect.

Ctrl + A | Ctrl +1 | protection tab | uncheck locked and hidden | ok

Select all the columns except Col A , Ctrl + 1 | protection tab |
check locked | ok

Now go tools | protection | protect sheet | ok

to share the workbook | tools | share workbook | ok



On Feb 11, 12:45 pm, Fuzzy wrote:
Scenario...
I want to track the customers who walked in during a training.
5 key users will be using the shared workbook at the same time. Only one
column would be available for use. All others would be password protected..
The users will be able to select only "yes" from the drop down list.
Once selected and saved, no user should be able to delete this from the cell.

Please help.






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
protect worksheet but allow row deletion Tia Excel Worksheet Functions 3 December 11th 08 08:01 PM
Protect files from deletion jayewink Excel Discussion (Misc queries) 3 July 24th 08 09:37 PM
Protect worksheet from deletion Richard Excel Discussion (Misc queries) 1 July 17th 06 03:38 PM
protect a file from deletion SheriTingle Excel Discussion (Misc queries) 2 January 5th 06 01:32 AM
protect formula in cell and still allow data deletion Shawna Excel Discussion (Misc queries) 1 November 4th 05 03:16 PM


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

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"