|
-
Apr 8th, 2005, 05:41 AM
#1
Thread Starter
Junior Member
CopyFromRecordset - Access to Excel Woorksheet
Hi!
I want to dump the contents of my recordset into excel woorksheet.
The recordset rsData contains 50 rows.
Sheet1.Range("A1").CopyFromRecordset rsData
I now have data in cell "A1" to "A50"
The problem is I have other data in cell "A10", "A20" for example, which I dont want to overwrite.
Is it possible to skip some cells while dumping the contents of the recordset.
I want the the recordset in "A1":"A9", "A11":"A19" etc..
How do I do this without writing more than one Query?
Best regards
/Bjso
-
Apr 8th, 2005, 06:14 AM
#2
Re: CopyFromRecordset - Access to Excel Woorksheet
Can't see why you'd want to paste around other fields... Either paste at the bottom or on another sheet first then code a copy routine to put the data in rows which are free.
An option
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|