Two relevant workbooks (sitting in the same shared drive):
Historical Data.xlsx: with a table GLDATA, which includes a field cc
Template.xlsx: with a named range COSTCENTER
Question: How do I modify the Command Text in the Data Connections Properties dialog box (using either SQL or Table syntax) to only pull those records from GLDATA into Template.xlsx where cc = COSTCENTER
What have I tried so far
SQL Syntax: SELECT * FROM GLDATA WHERE GLDATA.cc = COSTCENTER
Error: Syntax Error in FROM clause.
Historical Data.xlsx: with a table GLDATA, which includes a field cc
Template.xlsx: with a named range COSTCENTER
Question: How do I modify the Command Text in the Data Connections Properties dialog box (using either SQL or Table syntax) to only pull those records from GLDATA into Template.xlsx where cc = COSTCENTER
What have I tried so far
SQL Syntax: SELECT * FROM GLDATA WHERE GLDATA.cc = COSTCENTER
Error: Syntax Error in FROM clause.