Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need some help and explaination. Thks.


Ok I have found the problem related to my second problem it seems tha
the .Filename is unable to accept filesearch wildcard. (*) Can anyon
tell me why

--
stevetan201
-----------------------------------------------------------------------
stevetan2010's Profile: http://www.excelforum.com/member.php...fo&userid=1624
View this thread: http://www.excelforum.com/showthread.php?threadid=27647

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Need some help and explaination. Thks.

There was a thread a few months ago about this kind of thing.

IIRC, it was based on the version of windows--not excel (but it's been a long
time!).

How about checking your filenames before you do anything with them?

Dim MyName as string

'lots of code

If .Execute() 0 Then
For iCtr = 1 To .FoundFiles.Count
myName = Mid(.FoundFiles(iCtr), _
InStrRev(.FoundFiles(iCtr), "\") + 1)
if lcase(myname) like "*idd_*.xls" then
'do something
else
'don't
end if
Next iCtr
End If

stevetan2010 wrote:

Ok I have found the problem related to my second problem it seems that
the .Filename is unable to accept filesearch wildcard. (*) Can anyone
tell me why?

--
stevetan2010
------------------------------------------------------------------------
stevetan2010's Profile: http://www.excelforum.com/member.php...o&userid=16240
View this thread: http://www.excelforum.com/showthread...hreadid=276473


--

Dave Peterson
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
I WANT RSWORDS FORMULAS EXPLAINATION G.M.Golabhanvi Excel Worksheet Functions 2 October 22nd 08 08:20 AM
Function explaination need hoachen Excel Worksheet Functions 2 July 26th 07 11:38 PM
I need to understand how the IRR, NPV and FPV formulas work? Thks Juanmi Excel Worksheet Functions 1 August 15th 06 05:27 PM
Formula explaination r Excel Discussion (Misc queries) 6 May 16th 06 04:12 AM
Need some help and explaination. Thks. stevetan2010 Excel Programming 0 November 9th 04 03:09 AM


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