K
Kayda
Hi:
I want to import data into Excel 2003 from Access 2003. I have an
Access query that has 2 parameters and want to be able to pass those
parameters from Excel. However, I see no way to pass those parameters--
I choose Data | Import External Data | Import Data option and choose
an Access DSN. I run through the selections but there are no places to
enter my Access parameters and I get the usual "Too few parameters..."
error.
There is also the option of Data | Import External Data | New Database
Query, which I can build a query in Excel, and I can create parameters
there in Excel, but the problem is it seems I can only make parameters
from fields that are in the result set, and I the fields I want to
choose on are not in the result set, i.e. I want to choose Month and
Year but Month and Year aren't returned.
Also, how do I prevent the query from returning the field headers? I
have the field headers in my Excel spreadsheet anyway formatted nicely
and just want the data.
What is the best way to do this?
Thanks a lot,
Kayda
I want to import data into Excel 2003 from Access 2003. I have an
Access query that has 2 parameters and want to be able to pass those
parameters from Excel. However, I see no way to pass those parameters--
I choose Data | Import External Data | Import Data option and choose
an Access DSN. I run through the selections but there are no places to
enter my Access parameters and I get the usual "Too few parameters..."
error.
There is also the option of Data | Import External Data | New Database
Query, which I can build a query in Excel, and I can create parameters
there in Excel, but the problem is it seems I can only make parameters
from fields that are in the result set, and I the fields I want to
choose on are not in the result set, i.e. I want to choose Month and
Year but Month and Year aren't returned.
Also, how do I prevent the query from returning the field headers? I
have the field headers in my Excel spreadsheet anyway formatted nicely
and just want the data.
What is the best way to do this?
Thanks a lot,
Kayda