When I run a search using one of the Office programs I get a list of file
titles that I can't seem to do anything with other than copy them one by one,
e.g., to a spread sheet. With some searches yielding a hundred or more files,
this is not workable.

I would think that I would be able to access and work with this list via
VBA, but I can't find anything that tells me how to do this.

I'd like to be able to save the results of various searches in an Excel
spread sheet (and ultimately in an Access DB), where I would be able to add
additional information about the various files.

I think what I need to know is how to reference that result window in the
Office object model and what things I can do with it once I can reference it.

Thanks.

Re: Using VBA to work with Office search results by Howard

Howard
Fri Apr 15 13:02:14 CDT 2005

Use the object browser and search for "Search".

--
http://www.standards.com/; See Howard Kaikow's web site.
"Windowed" <Windowed@discussions.microsoft.com> wrote in message
news:37A7EB27-8D51-47F5-BF90-44E7FFA70FC0@microsoft.com...
> When I run a search using one of the Office programs I get a list of file
> titles that I can't seem to do anything with other than copy them one by
one,
> e.g., to a spread sheet. With some searches yielding a hundred or more
files,
> this is not workable.
>
> I would think that I would be able to access and work with this list via
> VBA, but I can't find anything that tells me how to do this.
>
> I'd like to be able to save the results of various searches in an Excel
> spread sheet (and ultimately in an Access DB), where I would be able to
add
> additional information about the various files.
>
> I think what I need to know is how to reference that result window in the
> Office object model and what things I can do with it once I can reference
it.
>
> Thanks.