MSDN > 論壇首頁 > Visual Basic for Applications (VBA) > File Search and Insert using VBA
發問發問
 

已答覆File Search and Insert using VBA

  • Friday, 10 July, 2009 13:25nheithoff 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.

解答

  • Friday, 10 July, 2009 14:09nheithoff 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    I think I've got it with ActiveSheet.Pictures.Insert(.FoundFiles(i) and the application.filesearch application.  Thanks to all who have viewed this.

所有回覆