PDA

View Full Version : Retrieve the file name if I specify the extension.



veerusat
03-13-2012, 06:19 AM
Hi everyone can you help me withthis.................plz..............

I have a xml file in which there are lot of file names arepresent.
For Example:
<abc>qwerty.pdf</abc>

So I have to create a vba code such that if I search with".pdf" then it has to give me the answer as"qwerty"..............

Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me


:banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :dunno :dunno :dunno :dunno :dunno :dunno

Bob Phillips
03-13-2012, 06:21 AM
Lookup the Dir function in VBA help.

veerusat
03-13-2012, 06:33 AM
Hi xld.............

Thanks alot for replying...........

But boss I am new to VBA ..I read throught that but couldn come to a conclusion........

So can you help me......plz............in detail.....with the code............