A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I protect a single cell in a table



 
 
Thread Tools Display Modes
  #1  
Old January 26th, 2007, 04:21 PM posted to microsoft.public.word.tables
Harry B
external usenet poster
 
Posts: 3
Default How do I protect a single cell in a table

I have small problem. I have created a form that has 2 sections that require
review and approval by different people. The document is protected for only
filing in forms. Now here is the trickey problem, anyone can enter or remove
names in the 2 review and approval section of the form. Is there a way to
protect those 2 fields from others editing or entering information and also
is there a way to protect them individually so only the authorized person can
enter information into thier approval sections?
  #2  
Old January 26th, 2007, 05:42 PM posted to microsoft.public.word.tables
Greg Maxey
external usenet poster
 
Posts: 171
Default How do I protect a single cell in a table

Harry,

You might consider the following.

Add a bookmark for "Review" and "Approval"

Create a macro for Review and Approval. Example:

Sub Approval()
Dim oRng As Word.Range
If Application.UserName "Mr. G. Ima Bigshot" Then
Exit Sub
Else
ActiveDocument.Unprotect
Set oRng = ActiveDocument.Bookmarks("Approval").Range
oRng.Text = Application.UserName
ActiveDocument.Bookmarks.Add "Approval", oRng
ActiveDocument.Protect wdAllowOnlyFormFields, NoReset:=True
End If
End Sub

Put a Macrobutton field in the form preceding the bookmark

{MacroButton Approval "Approved:"}


On Jan 26, 11:21 am, Harry B Harry
wrote:
I have small problem. I have created a form that has 2 sections that require
review and approval by different people. The document is protected for only
filing in forms. Now here is the trickey problem, anyone can enter or remove
names in the 2 review and approval section of the form. Is there a way to
protect those 2 fields from others editing or entering information and also
is there a way to protect them individually so only the authorized person can
enter information into thier approval sections?


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.