Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Search up (or down) ONLY
Can I write a macro that searches a document from the insertion point up, only?
Your help is greatly appreciated. George Lutz |
#2
|
|||
|
|||
George M. Lutz wrote:
Can I write a macro that searches a document from the insertion point up, only? Your help is greatly appreciated. George Lutz Hi George, In the Selection.Find object in your macro, set .Forward = False and .Wrap = wdFindStop. To search down instead, use .Forward = True. If the selection might be extended (more than one character) when the macro starts, you might want to insert the statement Selection.Collapse wdCollapseEnd before starting the search. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Keyboard shortcut to repeat a search | Page Layout | |||
For inserting symbols in Office there should be a search function | Microsoft Word Help | |||
For inserting symbols in Office there should be a search function | Microsoft Word Help | |||
search and replace symbol characters | Microsoft Word Help | |||
Search facility | Microsoft Word Help |