hide text depending on the reader

Z

zbutcher

I have a large, generic document to which I wish to add specifi
sections for reader A and reader B. I don't want to have to maintain
seperate documents but can't allow reader A to see reader B's data an
vice versa.

Does anyone know of anyway I can maintain a single document and easil
select which sections can and can't be seen to generate a reade
specific version? Thanks
 
M

macropod

Hi,

You could do this with a field coded along the lines of:

{IF{UserName}= "UserName1" " UserName1 Message" {IF{UserName}= " UserName2"
" UserName2 Messge" "Default Message"}}

Cheers
 
C

Charles Kenyon

It depends on how knowledgable your user is. Keep in mind that through the
methods you are talking about, all of the text is there in your document
somewhere. A knowledgable user can find it. If you put the extra material in
a UserForm rather than the document, you could put a macrobutton field in
your document that would pop up different info depending on the username.
This would not be easily printed. It would not be as easy to maintain as the
field suggested earlier but would be harder for someone else to get at. (The
macro could also insert it into the document. The thing is that it would
then be in the document and could be printed out and/or saved.)
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
M

macropod

A variation on my previous solution, to make it harder for each user to see
what's in the field for the other, would be to use a SET field somewhere to
create a hidden bookmark for each, then reference that bookmark. Eg:

{SET _BkMrk1 "UserName1 Message"}
{SET _BkMrk2 "UserName2 Message"}
{IF{UserName}= "UserName1" {_BkMrk1} {IF{UserName}= " UserName2" {_BkMrk2}
"Default Message"}}
To make it hard for users to find the SET fields, you could put them inside
a text box (eg top left corner of Page 1, then make it as small as possible
with no colours/lines. Savvy users could still get to the hidden messages
though, simply by copying the {_BkMrk1} & {_BkMrk2} fields and pasting them
anywhere else in the document.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top