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

G

GordonM

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
 
R

Russ

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.
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.
 
G

GordonM

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
 
R

Russ

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.
 

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