Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Searching For Files with Dates

Here is my present problem. I have a macro on 7 workbooks that save them with the date attached (i.e. "wkbk1 04-05-24.xls"). Now I need my eighth workbook to search the computer harddrive for these workbooks and perform the requisite tasks. Since I don't know the exact day that the files will be saved, can I use the "wkbk1 **-**-**.xls" as a search parameter, or do I have to go about it a different way? Any help would be great.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Searching For Files with Dates

Check out the Dir function in help. With this you can seek out files
beginning with wkbk1, and then you would need to check the remainder to be a
date.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"sa26" wrote in message
...
Here is my present problem. I have a macro on 7 workbooks that save them

with the date attached (i.e. "wkbk1 04-05-24.xls"). Now I need my eighth
workbook to search the computer harddrive for these workbooks and perform
the requisite tasks. Since I don't know the exact day that the files will
be saved, can I use the "wkbk1 **-**-**.xls" as a search parameter, or do I
have to go about it a different way? Any help would be great.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Searching For Files with Dates

Is there a way I can ask to search a specific range of dates based on
the current system date?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
searching between dates Joe@Willscot Excel Worksheet Functions 4 February 10th 09 02:44 PM
Searching Files Gator Excel Discussion (Misc queries) 0 August 11th 08 03:04 PM
Searching large excel files mthakershi Excel Discussion (Misc queries) 1 June 13th 07 06:31 PM
Searching on Dates nmtexman Excel Worksheet Functions 5 June 22nd 06 07:37 PM
searching different files macro fullymooned[_4_] Excel Programming 1 May 19th 04 05:36 PM


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

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

About Us

"It's about Microsoft Excel"