Hello...
I am building a macro that runs the process to create a data table via query, but I'm not able to get the syntax correct when I use a variable for the file name.
When I use the macro recorder, I get this beast at the top of the results
I am trying to get my variable, strFilename, to replace this mess:Please Login or Register to view this content.
I've tried messing with the quotation marks, but can't seem to get something like this to work, no matter what I try.Please Login or Register to view this content.
Anybody out there know how to do it?Please Login or Register to view this content.
Also, I know it seems odd to use the table query for another .xlsx file, but the source file has Asian Characters, and any other way I try to import them leaves a bunch of garbled characters (ANSI, I think). When I do the query manually, the results look perfect. I've tried using the DATA/IMPORT features as well, but to no avail.
Perhaps there is another way?
Thanks for any guidance!
JP
Bookmarks