Consulting

Results 1 to 3 of 3

Thread: Retrieve the file name if I specify the extension.

  1. #1
    VBAX Newbie
    Joined
    Mar 2012
    Posts
    2
    Location

    Retrieve the file name if I specify the extension.

    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



  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Lookup the Dir function in VBA help.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Mar 2012
    Posts
    2
    Location
    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............

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •