Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ben Ben is offline
external usenet poster
 
Posts: 54
Default Makeing text disappear in a form when I begin typing

I have a protected form that I want to set up so the text will disappear and
leave a cursor when someone clicks on it to enter text. Is this possible? If
so how do I do it?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Makeing text disappear in a form when I begin typing

Use default text in the form field. When the field is selected anything
typed will replace the text. If you want to clear that default text (and
frankly I wouldn't bother) you would need a macro run on entry to each field
containing the line

ActiveDocument.FormFields("Text1").Result = ""

where Text1 is the bookmark name of the field.

If you need text in the field to inform the user what to enter use the field
help which puts help text in the status bar and set an autonew macro in the
form template to draw attention to it.

Sub AutoNew()
Application.DisplayStatusBar = True
MsgBox "Refer to status line at bottom of screen for field entry details" _
, vbInformation, "Help"
End Sub

You may then find http://www.gmayor.com/formfieldmacros.htm useful.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Ben wrote:
I have a protected form that I want to set up so the text will
disappear and leave a cursor when someone clicks on it to enter text.
Is this possible? If so how do I do it?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Typing without moving text and saving original form. Girlfriend Microsoft Word Help 1 November 16th 06 09:09 AM
Why does cursor disappear when typing in word 2000 Grandma6 Microsoft Word Help 0 February 1st 06 07:54 PM
Selected text is not deleted when I begin typing Hogan Microsoft Word Help 1 January 4th 06 02:57 PM
Why does text move around when typing in created form fields? jmbubble Microsoft Word Help 1 August 18th 05 12:01 AM
text moves when typing in a text form field Jo New Users 1 May 14th 05 08:53 AM


All times are GMT +1. The time now is 07:51 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"