Hi All. I miss when I could simply have the appplication record my steps and save it as a macro. I sure wish Big Brother Bill had left in something like "Lower level programming for non-programmers." . . . I can pick my way through reading basic VB, but I've learned I'm not going to be a programmer. "Can't put in what God (or genitics) left out." So when it barfs, I usually don't know why.
I'm trying to use Ken's code (http://www.accessmvp.com/kdsnell/EXCEL_Import.htm ) to create a macro to import an Excel file to an Access table. I've created a module named "M_API" with the Getz code. I created a module with Ken's "Browse to a single EXCEL File and Import Data from that EXCEL File via TransferSpreadsheet (VBA)" named "M1_Import_EDW" Then I created a macro named "M1_Import_EDW_Excel" to run the module.
When I debug I get the "Invalid outside call" error on: blnHasFieldNames = True
I must be missing something really basic as this code has been around for a long time. But I have no idea what. I get the same error Getz's code.
TIA
Ron
Bookmarks