setting a dynamic path in an excel query
Tom Ogilvy provided me with the solution to his problem.
remove the single qutoes from this section of code to make it work.
DBQ='" & pathname &
"'\MatCompile.mdb;DefaultDir='" & pathname & "'" _
Thanks again Tom and Vic.
|