Change Form Field Font

I

iamnu

MS Word 2003.

I have quite a few Form Fields on my document. I would like to change
the font on ALL of them.
Is there an easy way to accomplish this?

Thanks...
 
S

Suzanne S. Barnhill

1. Unprotect the form.

2. Display field codes (Al+F9).

3. In the Replace dialog, in the "Find what" box, type

^19 FORM

4. Click More to expand the dialog.

5. With the insertion point in the "Replace with" box, click Format | Font
and select the desired font.

7. Replace All.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
I

iamnu

1. Unprotect the form.

2. Display field codes (Al+F9).

3. In the Replace dialog, in the "Find what" box, type

    ^19 FORM

4. Click More to expand the dialog.

5. With the insertion point in the "Replace with" box, click Format | Font
and select the desired font.

7. Replace All.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org

Oh, how great!

I copied your code to place in the "Find what" box, but it did not
work. I then typed your values in the box, and it worked!.

Thanks much for your help.
 
S

Suzanne S. Barnhill

This assumes, of course, that you want ALL your form fields in the same
font; otherwise, you'd have to Find Next and Replace selectively. And I
neglected to mention that after running the replace, you have to Alt+F9 to
toggle the form fields back, then reprotect the form, but I guess you
figured that out!

The only part of the operation that is tricky (and which always catches me)
is that if you place the insertion point in the "Replace with" box, then
click More, then start selecting formatting, you end up having to do it over
because, when you click More, the insertion point jumps back to the "Find
what" box. And of course when you're replacing with just formatting, you
need to make sure that the "Replace with" box is empty.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

1. Unprotect the form.

2. Display field codes (Al+F9).

3. In the Replace dialog, in the "Find what" box, type

^19 FORM

4. Click More to expand the dialog.

5. With the insertion point in the "Replace with" box, click Format | Font
and select the desired font.

7. Replace All.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org

Oh, how great!

I copied your code to place in the "Find what" box, but it did not
work. I then typed your values in the box, and it worked!.

Thanks much for your help.
 
I

iamnu

This assumes, of course, that you want ALL your form fields in the same
font; otherwise, you'd have to Find Next and Replace selectively. And I
neglected to mention that after running the replace, you have to Alt+F9 to
toggle the form fields back, then reprotect the form, but I guess you
figured that out!

The only part of the operation that is tricky (and which always catches me)
is that if you place the insertion point in the "Replace with" box, then
click More, then start selecting formatting, you end up having to do it over
because, when you click More, the insertion point jumps back to the "Find
what" box. And of course when you're replacing with just formatting, you
need to make sure that the "Replace with" box is empty.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org












Oh, how great!

I copied your code to place in the "Find what" box, but it did not
work.  I then typed your values in the box, and it worked!.

Thanks much for your help.

Suzanne, you did so well with my first question, I'd like to pose
another.

If you copy a Forms Field to another location, it contains a blank
Bookmark.
So, is there way to automatically assign Bookmarks to Form Fields that
are blank (empty)?

Bernie
 
S

Suzanne S. Barnhill

There may be, but it would probably require VBA (a macro), which is beyond
my capability, but others here may be able to help.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

This assumes, of course, that you want ALL your form fields in the same
font; otherwise, you'd have to Find Next and Replace selectively. And I
neglected to mention that after running the replace, you have to Alt+F9 to
toggle the form fields back, then reprotect the form, but I guess you
figured that out!

The only part of the operation that is tricky (and which always catches
me)
is that if you place the insertion point in the "Replace with" box, then
click More, then start selecting formatting, you end up having to do it
over
because, when you click More, the insertion point jumps back to the "Find
what" box. And of course when you're replacing with just formatting, you
need to make sure that the "Replace with" box is empty.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org












Oh, how great!

I copied your code to place in the "Find what" box, but it did not
work. I then typed your values in the box, and it worked!.

Thanks much for your help.

Suzanne, you did so well with my first question, I'd like to pose
another.

If you copy a Forms Field to another location, it contains a blank
Bookmark.
So, is there way to automatically assign Bookmarks to Form Fields that
are blank (empty)?

Bernie
 
J

Jay Freedman

There's an article at
http://www.word.mvps.org/FAQs/MacrosVBA/AssignNameToFmFld.htm that
describes the process of assigning a name to a form field, but it's
only a quick description of a workaround for the obvious but
unworkable approach. A complete macro could be designed around that
process, but the question that must be answered first is, "What name
do you want the new field to have?"

The first answer that comes to mind is to imitate Word's default: for
a text form field, assign "Text" followed by the next unused number.
However, we usually advise assigning a meaningful name related to the
field's purpose. For that, the macro would have to display a box to
ask you for the name. If you're going to do that, you might as well
just double-click the new field and enter the name directly into the
standard Properties dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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