E
excel_hari
Hi,
I have to export a spreadsheet (from my harddisk) as a table in DB and
after doing some operations on it I have to export the Ouput
Query/Table as a spreadhsheet to a different place in my Harddisk.
Im presently using 2 set of codes copied from 2 different websites to
do what I want:-
a) The name of the spreadsheet to be exported could change, so I have
to allow user to select the spreadhseet to be opened. So, in this case
the Testit function (from http://www.mvps.org/access/api/api0001.htm )
works nicely.
b) Finally, when I have to export the results of my query to Excel,
then I have to specify the path where it is to be stored (only the path
as name of the file is hardcoded). For this I got the code for
specifying the folder from
http://www.cpearson.com/excel/BrowseFolder.htm
I want to know as to whether I can somehow use the TestIt function from
a) for doing the process outlined in b). Basically I want to avoid
different "supporting" codes in my module.
Regards,
HP
India
I have to export a spreadsheet (from my harddisk) as a table in DB and
after doing some operations on it I have to export the Ouput
Query/Table as a spreadhsheet to a different place in my Harddisk.
Im presently using 2 set of codes copied from 2 different websites to
do what I want:-
a) The name of the spreadsheet to be exported could change, so I have
to allow user to select the spreadhseet to be opened. So, in this case
the Testit function (from http://www.mvps.org/access/api/api0001.htm )
works nicely.
b) Finally, when I have to export the results of my query to Excel,
then I have to specify the path where it is to be stored (only the path
as name of the file is hardcoded). For this I got the code for
specifying the folder from
http://www.cpearson.com/excel/BrowseFolder.htm
I want to know as to whether I can somehow use the TestIt function from
a) for doing the process outlined in b). Basically I want to avoid
different "supporting" codes in my module.
Regards,
HP
India