PC Review


Reply
Thread Tools Rate Thread

Data Entry and Protection

 
 
tiptoe
Guest
Posts: n/a
 
      19th Feb 2008
I want to create a spreadsheet where person A enters details in the
spreadsheet and saves sheet. Person B comes along and opens the sheet
and can enter details, but must not be able to alter any details
entered by A.

Can any one point me in the right direction?

Thanks,
Tiptoe
 
Reply With Quote
 
 
 
 
John Bundy
Guest
Posts: n/a
 
      19th Feb 2008
Tools->Protection->allow users to edit ranges. this allows you to set custom
access to different areas of the sheet. Not sure if that is exactly what your
looking for, but it sounds like what you want.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"tiptoe" wrote:

> I want to create a spreadsheet where person A enters details in the
> spreadsheet and saves sheet. Person B comes along and opens the sheet
> and can enter details, but must not be able to alter any details
> entered by A.
>
> Can any one point me in the right direction?
>
> Thanks,
> Tiptoe
>

 
Reply With Quote
 
tiptoe
Guest
Posts: n/a
 
      19th Feb 2008
On Feb 19, 7:55 pm, John Bundy <jmbu...@gmail.com(remove)> wrote:
> Tools->Protection->allow users to edit ranges. this allows you to set custom
> access to different areas of the sheet. Not sure if that is exactly what your
> looking for, but it sounds like what you want.
> --
> -John
> Please rate when your question is answered to help us and others know what
> is helpful.
>
> "tiptoe" wrote:
> > I want to create a spreadsheet where person A enters details in the
> > spreadsheet and saves sheet. Person B comes along and opens the sheet
> > and can enter details, but must not be able to alter any details
> > entered by A.

>
> > Can any one point me in the right direction?

>
> > Thanks,
> > Tiptoe


Not sure if that will work as the new entry will be immediately below
the previous and the person making the entry is not predictable.

Any other ideas?

tiptoe
 
Reply With Quote
 
Ken Johnson
Guest
Posts: n/a
 
      20th Feb 2008
Maybe something like this...

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Sheet1.Unprotect "tiptoe"
Dim rgCell As Range
For Each rgCell In Range("B2:C11")
If rgCell.Value = "" Then
rgCell.Locked = False
Else: rgCell.Locked = True
End If
Next
Sheet1.Protect "tiptoe"
End Sub

When the workbook is saved each cell in the range of cells where data
is to be entered by all the different other users (Sheet1!B2:C11 in
the sample code) is locked if not blank and unlocked if blank. The
sheet is protected with the password "tiptoe"

The code has to be pasted into the ThisWorkbook code module.

Ken Johnson
 
Reply With Quote
 
tiptoe
Guest
Posts: n/a
 
      20th Feb 2008
On Feb 20, 3:10 am, Ken Johnson <KenCJohn...@gmail.com> wrote:
> Maybe something like this...
>
> Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
> Boolean)
> Sheet1.Unprotect "tiptoe"
> Dim rgCell As Range
> For Each rgCell In Range("B2:C11")
> If rgCell.Value = "" Then
> rgCell.Locked = False
> Else: rgCell.Locked = True
> End If
> Next
> Sheet1.Protect "tiptoe"
> End Sub
>
> When the workbook is saved each cell in the range of cells where data
> is to be entered by all the different other users (Sheet1!B2:C11 in
> the sample code) is locked if not blank and unlocked if blank. The
> sheet is protected with the password "tiptoe"
>
> The code has to be pasted into the ThisWorkbook code module.
>
> Ken Johnson


Ken,
Thanks, looking good.

Regards,
tiptoe
 
Reply With Quote
 
Ken Johnson
Guest
Posts: n/a
 
      20th Feb 2008
You're welcome tiptoe.
Thanks for the feedback and the great rating.

Ken Johnson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save 60% on Data Entry, Data Conversion, Data Processing Services byOffshore-Data-Entry dataentryoffshore@gmail.com Microsoft Excel Programming 0 4th Jun 2008 04:02 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing admin.dataentryoutsourcing@gmail.com Microsoft Excel Misc 0 20th Mar 2008 12:45 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing admin.dataentryoutsourcing@gmail.com Microsoft Access Form Coding 0 20th Mar 2008 12:44 PM
Data entry and protection =?Utf-8?B?TWVsaXNzYQ==?= Microsoft Excel Setup 5 9th Jun 2004 05:45 PM
Data entry and protection =?Utf-8?B?TWVsaXNzYQ==?= Microsoft Excel Setup 0 9th Jun 2004 01:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.