filesearch sebenarnya code behind find dialog box (ctrl+F), namun tdk menggunakan interface tsb, jadi kita bisa melakukan pencarian secara programatik, termasuk mencari dimana, mencari pada subfolder atau tidak, mencari type file atau nama file apa, dll (banyak attributnya).
nah, yg minta dijelasin yang mana? Haer On Fri, Aug 29, 2008 at 8:12 AM, andikprabowo <[EMAIL PROTECTED]>wrote: > Mohon penjelasan dong, untuk list mencari file? > > ini ada contoh dari help VBA > ============================= > > FileSearch Object > ----------------- > > FileSearch > ---------- > Multiple objects > ---------------- > > > Represents the functionality of the Open dialog box (File menu). > > > Using the FileSearch Object > =========================== > Use the FileSearch property to return the FileSearch object. The > following example searches for files and displays the number of > files found and the name of each file. > > With Application.FileSearch > If .Execute() > 0 Then > MsgBox "There were " & .FoundFiles.Count & _ > " file(s) found." > For i = 1 To .FoundFiles.Count > MsgBox .FoundFiles(i) > Next i > Else > MsgBox "There were no files found." > End If > End With > > > thanks > > > > ------------------------------------ > > SPAM IS PROHIBITEDYahoo! Groups Links > > > > -- [Haer Talib] MVP Office Access Meet me at www.RumahAccess.com =>

