'Macro permettant de lancer une recherche Windows dans un répertoire défini
Sub OpenFindFile() '(Optional pFolder As String, Optional pFile As String, Optional pFindIn As String)
Set shellapp2 = CreateObject("Shell.Application")
pFolder = shellapp2.BrowseForFolder(0, "choisir l'arborescence dans laquelle lancer la recherche", 0).self.Path
Call ShellExecute(GetActiveWindow, "find", pFolder, vbNullString, vbNullString, SW_SHOW)
If pFile <> "" Then
SendKeys pFile, True
End If
If pFindIn <> "" Then
SendKeys "{TAB}" & pFindIn, True
End If
End Sub