I suspect that it can! The latest version of Access (2010) has added much
stronger macro functions. It's just that I haven't used macros recently,
since discovering the greater flexibility of VBA.
If this were mine, I'd probably look into whether the version of Access you
are using allows you to set up specific and detailed export specifications,
then if you can "call" them from a macro. That way, you could detail out
the query ("from") and the sheet ("to") as part of your export spec.
Good luck!
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Hopefully one of the other newsgroup readers has specific experience with
this.
All my 'exports to Excel' have been via VBA, because of the control and
error handling.
Good luck!
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
We are using Access 2003. So the question is HOW do I do it via
Macros? How/Where in the macro do I refer to the SHEET name?
i.e.
In the Macro there is an Action called OutputTo. And at the bottom of
the screen are Action Arguments as follows.
Object Type = Query
Object Name= Name of Query
Object Format= Microsoft Excel(*.xls)
Output File= Path to Excel File
Auto Start= No
Template File= blank
Unfortunately The user DOES NOT want to use/learn VBA.
If it can be done via a Macro. Please advise How?
Regards.- Hide quoted text -
- Show quoted text -
Sorry Jeff, I must've misunderstood your previous post. I thought you
were suggesting that "It could be done via Macros" depending on the
Version of Access. That's why I was asking How?. My Bad!
Anybody Else have any success with this?