Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Jan 2001
    Location
    Karlsruhe, Germany
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    'Highlight all...' checkbox in Find dialog (Word 2002)

    Hi,

    How can I execute the same search I would get if I check the "Highlight all items found" checkbox on the Find tabcard of the Find-Replace dialog? There is nothing promising on the help list I get while typing "Selection.Find. "; that list has things for other options on that dialog, like like ".MatchCase" As a last resolt, I could display the dialog with "Dialogs(wdDialogEditFind).Show" and use sendkeys to move to that field (send one tab). But once I am there, I only know how to toggle that chekbox, not set or read it

    Any help would be greatly appreciated

    PS the search is for all occurances of a paragraph Style. The occurances are actually contiguous, but for some reason, Find.Execute only finds them one paragraph at a time.

    Ed Colaianni,
    Karlsruhe.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: 'Highlight all...' checkbox in Find dialog (Word 2002)

    SendKeys is the only way. Microsoft hasn't made the "Highlight all items found" option available in VBA.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •