Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Word 2003/2000 - Highighting specific words in text form fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GordonM - 10 Jul 2007 16:20 GMT
I have designed a userform and several users have asked whether there is a
better way of highlighting and copying from form fields when in Protected
mode.  In the default Word behaviour, any attempt to highlight using the left
mouse key results in the whole of the current paragraph, in the direction the
mouse is moved, being highlighted.  The way that I am instructing users to
address this at the moment is to use the Shift-arrow keys to do the
highlighting.  However, many seem to feel that keyboard short-cuts are clunky
and that mouse should be able to do it all!  A valid difficulty is that even
when the Shift-arrow method of highlighting is used, if the highlighted
section is moved with one of the arrow keys to the beginning or end of the
paragraph, the whole paragraph becomes highlighted.  This is regardless of
where the starting point of the highlighting might be.

I am wondering whether the behaviour I have described above might be changed
through the use of a macro, so that mouse highlighting can be done in the
normal way.

My interest in this for Word 2003 and 2000 is because my organization has
not yet moved from Word 2003 as its standard, with some users also still
needing to use Word 2000.

Thank you
GordonM
Russ - 10 Jul 2007 19:38 GMT
Gordon,
This might be one of those cases where a feature looks like a bug.
You can set the property of AutoWordSelect to False
Look at the properties box of your object.
This is a quote from VBA help.
>Quote
The AutoWordSelect property specifies how the selection extends or contracts
in the edit region of a TextBox or ComboBox.
If the user places the insertion point in the middle of a word and then
extends the selection while AutoWordSelect is True, the selection includes
the entire word.
>UnQuote

> I have designed a userform and several users have asked whether there is a
> better way of highlighting and copying from form fields when in Protected
[quoted text clipped - 19 lines]
> Thank you
> GordonM

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

GordonM - 11 Jul 2007 01:22 GMT
Russ - If you mean by the "object" the Text Form Field that contains the text
which doesn't highlight the way I want it, there is no AutoWordSelct
available to set to anything in its Properties.  I have unchecked
Tools/Options/Edit/"When selecting, automatically select entire word", but
that makes no difference.

Can you clarify where I might be able to find the AutoWordSelct setting.

Thank you
Gordon

> Gordon,
> This might be one of those cases where a feature looks like a bug.
[quoted text clipped - 32 lines]
> > Thank you
> > GordonM
Russ - 11 Jul 2007 01:57 GMT
Gordon,
When you said userform, I thought you were talking about what Word calls a
userform. If you go into the VBA editor in Word and use the menu Insert/
Userform, you'll see what I mean.
Sorry, I can't help you with documents with formfields.

> Russ - If you mean by the "object" the Text Form Field that contains the text
> which doesn't highlight the way I want it, there is no AutoWordSelct
[quoted text clipped - 46 lines]
>>> Thank you
>>> GordonM

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

GordonM - 11 Jul 2007 02:34 GMT
Maybe I used the wrong terminology.  Thank you anyway for the reply.

Gordon

> Gordon,
> When you said userform, I thought you were talking about what Word calls a
[quoted text clipped - 52 lines]
> >>> Thank you
> >>> GordonM
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.