Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
pbrenny pbrenny is offline
external usenet poster
 
Posts: 2
Default Select only one word in text form field

I have a form with many form fields for users to input text. I want the
users to be able to select only the word(s) they want within the fields to be
able to apply different text formatting to them if they choose. I have set
up macros to allow them to apply bold, italic, change font size, etc. but I
can't figure out how to be able to apply this formatting to only the text I
want vs. the entire text field. I appreciate any help you can give.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Select only one word in text form field

Hi ?B?cGJyZW5ueQ==?=,

I have a form with many form fields for users to input text. I want the
users to be able to select only the word(s) they want within the fields to be
able to apply different text formatting to them if they choose. I have set
up macros to allow them to apply bold, italic, change font size, etc. but I
can't figure out how to be able to apply this formatting to only the text I
want vs. the entire text field. I appreciate any help you can give.

If these form fields are in a table, I'm afraid you're running into a very old
bug. As long as forms protection is activated, it's not possible to select just
parts of a form field located in a table cell. You have to get very creative.
One possible approach would be to pull the text into a UserForm; the user
selects and specifies font formatting (which he won't see). You note the
character locations of each selection, along with the formatting. Unprotect the
document and apply the formatting to the ranges the user specified.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
pbrenny pbrenny is offline
external usenet poster
 
Posts: 2
Default Select only one word in text form field

Thanks so much for your help with this. The form fields were in a table so
now I know what the cause is.

"Cindy M." wrote:

Hi ?B?cGJyZW5ueQ==?=,

I have a form with many form fields for users to input text. I want the
users to be able to select only the word(s) they want within the fields to be
able to apply different text formatting to them if they choose. I have set
up macros to allow them to apply bold, italic, change font size, etc. but I
can't figure out how to be able to apply this formatting to only the text I
want vs. the entire text field. I appreciate any help you can give.

If these form fields are in a table, I'm afraid you're running into a very old
bug. As long as forms protection is activated, it's not possible to select just
parts of a form field located in a table cell. You have to get very creative.
One possible approach would be to pull the text into a UserForm; the user
selects and specifies font formatting (which he won't see). You note the
character locations of each selection, along with the formatting. Unprotect the
document and apply the formatting to the ranges the user specified.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


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
Field form which opens a calendar to select date ? Keith HJ Microsoft Word Help 1 October 7th 06 03:11 PM
select text in form field Worduser Microsoft Word Help 1 August 4th 06 04:40 PM
Autofill of Text Form Field based on another Text Form Field Brett Kinross Microsoft Word Help 3 November 24th 05 03:49 AM
Text form field inside a WORD table cell, odd behavior when select pwrichcreek Tables 9 October 20th 05 12:34 AM
In forms, how can I select part of a form field jalryan Tables 0 July 21st 05 07:27 PM


All times are GMT +1. The time now is 07:31 AM.

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

About Us

"It's about Microsoft Word"