Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Search filename containing words

Sam,

Take a look at the Dir method in VBA help. It allows selecting partial
names. Although how you will manage if there are two, I do not know.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Sam" wrote in message
...
Here is the thing. I have file that has to be formatted. The file is

updated
occasionally because its companys pricelist. So, the name of the file will
change. The fact is that the words "Price list" is always in the name. I

want
to make a search that finds the file and changes the name only to be a
"pricelist". What is the code for this?
--
-Sam



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
search of words bookworm Excel Discussion (Misc queries) 3 February 12th 07 07:42 PM
filename search and extract into a cell M John Excel Discussion (Misc queries) 5 April 28th 06 10:11 PM
Search for specific words Newberry Excel Worksheet Functions 3 July 21st 05 10:18 PM
Search for multiple words Kassie Excel Discussion (Misc queries) 0 March 25th 05 05:21 PM
Filename search using Office 97 with Windows 2000 Dave[_30_] Excel Programming 3 September 15th 03 04:57 PM


All times are GMT +1. The time now is 04:14 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"