hi everyone..
can somebody give me some code to perform file search. i use
vb editor in ms excel.
i had try this..
with
.filesearch = "c:\my document\wan"
.filetype = ......".xls : .pdf"
.filename = textbox.text
execute
end with
i want to search for .xls and .pdf file which i locate them in a folder namely "wan".
i have a textbox, user may enter the path name of the file.. when they click search button, it will directly check file availability in "wan" folder.
when i run above code, .filename, . filesearch, .filetype appear to be error. may i know why? any suggestion? thank you very much for your time..