Connecting Tech Pros Worldwide Help | Site Map

Create excel spreadsheet from recordset

 
LinkBack Thread Tools Search this Thread
  #1  
Old April 15th, 2006, 08:55 AM
PeterW
Guest
 
Posts: n/a
Default Create excel spreadsheet from recordset

Hello.

Is it possible, using code, to create a spreadsheet in excel format, with
cells containing constant text and formulae and inserting data from a
recordset in specific cells?

If so, could someone point me to an information page with details on how to
achieve this?

Many thanks

PeterW



  #2  
Old April 15th, 2006, 12:55 PM
Bob Quintal
Guest
 
Posts: n/a
Default Re: Create excel spreadsheet from recordset

"PeterW" <pwooly@btinternet.com> wrote in
news:ZMadnV0diPeyLN3ZRVny1w@bt.com:
[color=blue]
> Hello.
>
> Is it possible, using code, to create a spreadsheet in excel
> format, with cells containing constant text and formulae and
> inserting data from a recordset in specific cells?
>
> If so, could someone point me to an information page with
> details on how to achieve this?
>
> Many thanks
>
> PeterW
>[/color]
start with these:
http://www.mvps.org/access/modules/mdl0006.htm
http://www.mvps.org/access/modules/mdl0035.htm


Note to PCD: Don't go away mad, just go away.
--
Bob Quintal

PA is y I've altered my email address.
  #3  
Old April 15th, 2006, 01:45 PM
PeterW
Guest
 
Posts: n/a
Default Re: Create excel spreadsheet from recordset

Just what I was looking for.

Many thanks.


Peterw


  #4  
Old April 15th, 2006, 01:55 PM
PC D
Guest
 
Posts: n/a
Default Re: Create excel spreadsheet from recordset

I am SURPRISED!!!

You did not recommend your procedure to export records to Excel that takes
hours to run!!! Since ot works, you said that it is the correct way to do
it.


"Bob Quintal" <rquintal@sympatico.ca> wrote in message
news:Xns97A655D1E4984BQuintal@207.35.177.135...[color=blue]
> "PeterW" <pwooly@btinternet.com> wrote in
> news:ZMadnV0diPeyLN3ZRVny1w@bt.com:
>[color=green]
>> Hello.
>>
>> Is it possible, using code, to create a spreadsheet in excel
>> format, with cells containing constant text and formulae and
>> inserting data from a recordset in specific cells?
>>
>> If so, could someone point me to an information page with
>> details on how to achieve this?
>>
>> Many thanks
>>
>> PeterW
>>[/color]
> start with these:
> http://www.mvps.org/access/modules/mdl0006.htm
> http://www.mvps.org/access/modules/mdl0035.htm
>
>
> Note to PCD: Don't go away mad, just go away.
> --
> Bob Quintal
>
> PA is y I've altered my email address.[/color]


  #5  
Old April 15th, 2006, 05:55 PM
tommaso.gastaldi@uniroma1.it
Guest
 
Posts: n/a
Default Re: Create excel spreadsheet from recordset

I would use ole autom only for occasional work and small dataset (every
time I tried it took ages, especially if you have complex cell
formatting).

I would rather look for XML

for instance (there are several refs on the web):
http://blogs.msdn.com/brian_jones/ar...27/433152.aspx

-tom

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.