LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Start copying an access recordset starting with the next column

I am bringing information from a recordset into Excel. I want to
start copying the recordset data starting with column two. Column one
is my primary key identifier and I don't want that. I'm thinking it
has something to do with .Fields???

'Copy the matched recordset into the worksheet starting at column "AN"
With wsSheet1
.Cells(2, 40).CopyFromRecordset rs2.Fields(2,?????) <----
this is where I am unsure
End With
'Close connections with permit_life
rs2.Close
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code for getting Access recordset into Excel Matt[_48_] Excel Programming 8 June 25th 07 03:49 AM
copying a recordset into a variable Chay Excel Programming 0 February 7th 07 05:53 PM
Excel VBA - Copying access column wliong Excel Programming 7 October 27th 05 11:36 PM
Access Recordset Rows to Excel Geoff[_11_] Excel Programming 1 May 25th 05 05:41 PM
Starting VBE at EXCEL Start Don[_15_] Excel Programming 3 April 18th 04 07:43 PM


All times are GMT +1. The time now is 12:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"