Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Advanced Find (97SR2)

    Is it possible to programmatically invoke the attached form?

    I want to check "Search Subfolders" and save it as the default.
    Attached Files Attached Files
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Advanced Find (97SR2)

    The setting seems to be sticky; whatever was last one appears to be what is set as the default for the next search. If this tests out, perhaps you can use the following in connection with a "quickie" search (or your real search) to set the default.

    Application.FileSearch.SearchSubFolders = True

    (I could not find a dialog number for this dialog in the Word dialogs collection, and the Office type library doesn't seem to have a dialogs collection.)

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Advanced Find (97SR2)

    Setting this property does not seem to do anything to File>Open Advanced search form. The check box remains unchecked even after checking it for a search then clicking File>open again for subsequent searches.

    Thanks for investigating the dialog number, too.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

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