Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Another FileSearch Question Please Read

Hello Group,

I understand that FileSearch has been dumped from the Excel Repository,
however by unhiding hidden object in Office 2007 Excel I find that it is
available as a Hidden "Office" Object. This was released in the Office
SvcPk2.

Is there anyway to refer to this object in Excel, I can not see the
purpose of having an object (hidden or not) in a suite of programs if it
can not be referenced.

FileSearch is a major workhorse and worked quite well in most of my
spreadsheets that have to find the last excel sheet posted in a folder
(or in older terms, a directory) in order to gather information or
template information from the workbook.

Documentation in Excel(2007) points to code that uses input or list boxes
to find files but I need this automated.

Any direction would be appreciated, (I am really hope that the hidden
object can be used and referenced simply with a replace statement from
"with App.FileSearch" and change the reference to "with
"(newHiddenObject).FileSearch" so that I do not have to rewrite the code
in some 50 or 60 spreadsheets.)

Anyway, thanks in adavance.

WHistleHead
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Another FileSearch Question Please Read

use a class module to replicate the FileSearch method. all you need to do
then is drag/drop it from a folder (or desktop) in to your excel workbooks
I agree its not ideal, but the code changes thereafter should be minimal IF
the object has all the methods of the original.

I'm building a demo that I'll post later..maybe tomorrow

"WhistleHEad" wrote in message
...
Hello Group,

I understand that FileSearch has been dumped from the Excel Repository,
however by unhiding hidden object in Office 2007 Excel I find that it is
available as a Hidden "Office" Object. This was released in the Office
SvcPk2.

Is there anyway to refer to this object in Excel, I can not see the
purpose of having an object (hidden or not) in a suite of programs if it
can not be referenced.

FileSearch is a major workhorse and worked quite well in most of my
spreadsheets that have to find the last excel sheet posted in a folder
(or in older terms, a directory) in order to gather information or
template information from the workbook.

Documentation in Excel(2007) points to code that uses input or list boxes
to find files but I need this automated.

Any direction would be appreciated, (I am really hope that the hidden
object can be used and referenced simply with a replace statement from
"with App.FileSearch" and change the reference to "with
"(newHiddenObject).FileSearch" so that I do not have to rewrite the code
in some 50 or 60 spreadsheets.)

Anyway, thanks in adavance.

WHistleHead


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Another FileSearch Question Please Read

Thanks Patrick,

I look forward to your demo. I'm always into learning something new.

WHistleHead

"Patrick Molloy" wrote in
:

use a class module to replicate the FileSearch method. all you need
to do then is drag/drop it from a folder (or desktop) in to your excel
workbooks I agree its not ideal, but the code changes thereafter
should be minimal IF the object has all the methods of the original.

I'm building a demo that I'll post later..maybe tomorrow

"WhistleHEad" wrote in message
...
Hello Group,

I understand that FileSearch has been dumped from the Excel
Repository, however by unhiding hidden object in Office 2007 Excel I
find that it is available as a Hidden "Office" Object. This was
released in the Office SvcPk2.

Is there anyway to refer to this object in Excel, I can not see the
purpose of having an object (hidden or not) in a suite of programs if
it can not be referenced.

FileSearch is a major workhorse and worked quite well in most of my
spreadsheets that have to find the last excel sheet posted in a
folder (or in older terms, a directory) in order to gather
information or template information from the workbook.

Documentation in Excel(2007) points to code that uses input or list
boxes to find files but I need this automated.

Any direction would be appreciated, (I am really hope that the hidden
object can be used and referenced simply with a replace statement
from "with App.FileSearch" and change the reference to "with
"(newHiddenObject).FileSearch" so that I do not have to rewrite the
code in some 50 or 60 spreadsheets.)

Anyway, thanks in adavance.

WHistleHead




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto close read-only, question boxes? sefus12[_2_] Excel Programming 1 March 27th 06 09:43 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 0 June 2nd 05 08:18 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 0 June 2nd 05 03:40 PM
A question on read the record from excel weizi Excel Programming 0 July 16th 03 04:42 AM


All times are GMT +1. The time now is 11:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"