Ask a questionAsk a question
 

AnswerFile Search and Insert using VBA

  • Friday, July 10, 2009 1:25 PMnheithoff Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am looking for a simple way to search for a file named the same thing as a variable that I have already determined and then insert that file into an excel file.  I have tried to use the application.filesearch, but I have not been able to get this string to actually display or insert the files it has found.

Answers

  • Friday, July 10, 2009 2:09 PMnheithoff Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I think I've got it with ActiveSheet.Pictures.Insert(.FoundFiles(i) and the application.filesearch application.  Thanks to all who have viewed this.

All Replies