If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > What's wrong with this ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-03, 16:33
ontheDB ontheDB is offline
Registered User
 
Join Date: Sep 2003
Posts: 80
What's wrong with this ?

What's the error in this ?


Counter = 0

While Not rs.EOF

Sheets("SummaryByDate").Select
ActiveSheet.Range(Cells(3, 3 + Counter)).CopyFromRecordset rs, 4, 1
ActiveSheet.Range(Cells(9, 3 + Counter)).CopyFromRecordset rs, 1, 1
ActiveSheet.Range(Cells(12, 3 + Counter)).CopyFromRecordset rs, 4, 1

Wend


I'm trying to populate a table with information taht i've queried from an external source ..

is there any way to capture a snapshot of a pivot table and then poplulate the cells accordingly in an excelsheet ?

thank you so much in advanc.e...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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