Totally Turning off Screen Display, Pt. 2
- From: "Ed" <nospam@xxxxxxxxxx>
- Date: Fri, 3 Apr 2009 21:51:37 -0400
I followed Jay Freedman's advice about using:
Dim oRg As Range
> Set oRg = ActiveDocument.Range
> With oRg.Find
> ' ...
> End With
to reduce flashing. That advice works well, but when I need to check on
certain values, I need more help. I need to check certain values and need to
'move' the scope of the range. I am familiar with the '.move' command, as
in:
Selection.MoveRight Count:=alen - Len(TestText)
When I try "oRg.MoveRight count:=alen-Len(TestText)" I get an error
because oRg is a range, not a Selection object.
Apparently one cannot "MoveRight' a range, only a Selection.
Then, when I set the selection to the range (I think the command is
"oRg.Select") the screen 'jumps' and flashes as the selection is made, which
of course is what I wanted to avoid.
Is there anyway to "moveright" or "moveleft" a range to increase its
scope?
-Ed (in Virginia)
.
- Prev by Date: Re: Userform
- Next by Date: FileSearch equivalent for *subfolder* search
- Previous by thread: Convert Yes/No fields from Access into Check Boxes in Word Merge f
- Next by thread: FileSearch equivalent for *subfolder* search
- Index(es):
Relevant Pages
|