hi all,
i have a form withj a button that when clicked should open preferably a query in an instance of excel, alternatively a report.
Is there a quick, single line of code in vba that will do this??
i have..
DoCmd.OutputTo acOutputQuery, "my query", acFormatXLS
but that tries to save the file to disk. i just want it to open in excel??
I don't really want to have to go down the route of creating an instance of excel first etc.
Thanks. Spin.
i have a form withj a button that when clicked should open preferably a query in an instance of excel, alternatively a report.
Is there a quick, single line of code in vba that will do this??
i have..
DoCmd.OutputTo acOutputQuery, "my query", acFormatXLS
but that tries to save the file to disk. i just want it to open in excel??
I don't really want to have to go down the route of creating an instance of excel first etc.
Thanks. Spin.