Makeing text disappear in a form when I begin typing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top