Carriage return in text box's default text

B

Brian

I am using Word97 to make a form. In one form text box I would like the
default text to have two carriage returns with text between them (e.g.,
{CarriageReturn}text{CarriageReturn}). I would prefer to do this using the
text box properties rather than setting the text using a VBA script.

-Brian
 
D

Doug Robbins - Word MVP

Hi Brian,

Why you format the paragraph with space before and after?

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
B

Brian

I have a form in which the user may not complete all the fields. When the
user is done, I would like to remove the empty fields as well as the
headings used to describe the field so that when the document is printed, no
empty fields (or their headings) will be printed.

I was planning to make the headings by making a form text box with the
default text "locked" so that the user cannot alter the heading text then
follow it with a text box that the user can use for input.

When the user completes the form, I was going to have the VBA script check
to see if the user input text box was blank. If it is blank, then delete
the user input box as well as the heading text box.

The form looks something like this

(CR)
HEADING1
(CR)
[form text box for input]
(CR)
HEADING2
(CR)
[next form text box for input]
...., etc.

-Brian
 
B

Brian

I ended up removing the headings with a selection.find routine. I kept the
headings unique by making them all caps decreasing the chance that the user
may use similar text that would be deleted during the "cleanup" after the
form is completed.

-Brian

Brian said:
I have a form in which the user may not complete all the fields. When the
user is done, I would like to remove the empty fields as well as the
headings used to describe the field so that when the document is printed, no
empty fields (or their headings) will be printed.

I was planning to make the headings by making a form text box with the
default text "locked" so that the user cannot alter the heading text then
follow it with a text box that the user can use for input.

When the user completes the form, I was going to have the VBA script check
to see if the user input text box was blank. If it is blank, then delete
the user input box as well as the heading text box.

The form looks something like this

(CR)
HEADING1
(CR)
[form text box for input]
(CR)
HEADING2
(CR)
[next form text box for input]
..., etc.

-Brian

Doug Robbins - Word MVP said:
Hi Brian,

Why you format the paragraph with space before and after?

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
using
the
 

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