O
OPMCoordinator
Guest
Hello all!
I am a complete newbie to VB and would appreciate some help. I have my first proper training this friday but need to square this one away asap.
If I have a database in the root directory db1.mdb that has a table called table1 that has a field aaa (data=a,b,c,d,e,f...) and I use query1 to assemble a record set that I want to copy (automatically) to c:\1.xls sheet1 starting at a1, what is the code. Surely it must be possible to write the code simply?!?!
(vb ver 6, access 2000)
nb i dont think transfer spreadsheet works as it overwrites the sheet (which i dont want to do) and send object also overwrites more than just cell range. I think it is the copyrecordset command that i need to use but the dims, sets, call, public subs, x as x, etc is what is stumping me (mostly).
Cheers
Mike C
I am a complete newbie to VB and would appreciate some help. I have my first proper training this friday but need to square this one away asap.
If I have a database in the root directory db1.mdb that has a table called table1 that has a field aaa (data=a,b,c,d,e,f...) and I use query1 to assemble a record set that I want to copy (automatically) to c:\1.xls sheet1 starting at a1, what is the code. Surely it must be possible to write the code simply?!?!
(vb ver 6, access 2000)
nb i dont think transfer spreadsheet works as it overwrites the sheet (which i dont want to do) and send object also overwrites more than just cell range. I think it is the copyrecordset command that i need to use but the dims, sets, call, public subs, x as x, etc is what is stumping me (mostly).
Cheers
Mike C