Hi All.
I'm trying to open excel by using a command button in access. Then, using code, i would like to open a new worksheet and copy the contents of a query into the worksheet.
So far i can open Excel, but that's it.
I have also added the excel references in Access.
I understand a little about "with" statements and using the "sheets.add" commands e.t.c. but it's the initial declarations i'm stuck with.
If anyone can spare a bit of their time to help me then i'd be very grateful.
Thanks all.
I'm trying to open excel by using a command button in access. Then, using code, i would like to open a new worksheet and copy the contents of a query into the worksheet.
So far i can open Excel, but that's it.
I have also added the excel references in Access.
I understand a little about "with" statements and using the "sheets.add" commands e.t.c. but it's the initial declarations i'm stuck with.
If anyone can spare a bit of their time to help me then i'd be very grateful.
Thanks all.