applying styles to form controls word 2007


M

maggie

i am creating forms in word 2007. I insert a plain text conrtol and in the
properties create a style called bullets to create a multiline bulleted list.
However when I type into the field no style is used and the enter key
produces a soft return instead of a paragraph. Cannot find any information
on this. Also why doesn't the style present in the document appear in the
Content Control Property box?

thaking anyone who can help me.

maggie
 
Ad

Advertisements

D

Doug Robbins - Word MVP

If you want to apply styles to form controls, you need to use a Rich Text
form control, not a Plain Text control.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
D

Doug Robbins - Word MVP

Ignore previous response. It appears that it is only the character
formatting of a style that is applied, not the paragraph formatting/number
formatting.

However, if you insert a Rich Text content control into a paragraph to which
bullets have been applied, every time you press enter a new bulleted
paragraph is inserted into the control.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
S

Stefan Blom

However, if you insert a Rich Text content control into a paragraph to
which bullets have been applied, every time you press enter a new bulleted
paragraph is inserted into the control.
Not really, since Word adds a line break rather than a paragraph mark when
pressing Enter inside a content control.
 
D

Doug Robbins - Word MVP

Hi Stefan,

Not what I see here. At least, where the Enter key is pressed, a pilcrow
(¶) terminates the line and running a macro with the command

MsgBox ActiveDocument.Paragraphs.Count

returns a number equal to the number of pilcrows that are present in the
document.



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
Ad

Advertisements

S

Stefan Blom

Sorry, my mistake: I tested with a plain text control. :-(

Your description is accurate.
 
Ad

Advertisements


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