E
excel_hari
Hi,
I have got the code for importing data to access. I want to know the
code for transfering data from a particular table in my DB to my C:
drive as an Excel file. How to do the same?
I have created a macro using Action OutputTo and then ObjectType as
Table, ObjectName as NotSpecialSKU and Output Format as MS Excel
97-2003 and Auto start as No. Incidentally I tried to call this macro
in code using Call macro1 but I got an error message. Is this not
possible in Access? Also, if it is possible, can we pass arguments to
these macro, like dynamically passing the name of the table and
Location of file to be saved etc?
Also, I would like to know as to how to do the above operation using
VBA code and not using any "recorded" Macro?
Regards,
HP
India
I have got the code for importing data to access. I want to know the
code for transfering data from a particular table in my DB to my C:
drive as an Excel file. How to do the same?
I have created a macro using Action OutputTo and then ObjectType as
Table, ObjectName as NotSpecialSKU and Output Format as MS Excel
97-2003 and Auto start as No. Incidentally I tried to call this macro
in code using Call macro1 but I got an error message. Is this not
possible in Access? Also, if it is possible, can we pass arguments to
these macro, like dynamically passing the name of the table and
Location of file to be saved etc?
Also, I would like to know as to how to do the above operation using
VBA code and not using any "recorded" Macro?
Regards,
HP
India