Can anyone suggest why the following keeps giving me a "Type Mismatch" and how I might revise it to activate the Excel file named "MyExcel"?
Set objExcel = GetObject("C:\Documents and Settings\Access Practice File\MyExcel.xls"
Thank you for any help.
P.S. I am also looking for a way to open a dialog box that enables a User to browse my "C" Drive for a specific Excel file.
Set objExcel = GetObject("C:\Documents and Settings\Access Practice File\MyExcel.xls"
Thank you for any help.
P.S. I am also looking for a way to open a dialog box that enables a User to browse my "C" Drive for a specific Excel file.