Connecting Tech Pros Worldwide Help | Site Map

Create excel spreadsheet from recordset

  #1  
Old April 15th, 2006, 09:55 AM
PeterW
Guest
 
Posts: n/a
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, 01:55 PM
Bob Quintal
Guest
 
Posts: n/a

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, 02:45 PM
PeterW
Guest
 
Posts: n/a

re: Create excel spreadsheet from recordset


Just what I was looking for.

Many thanks.


Peterw


  #4  
Old April 15th, 2006, 02:55 PM
PC D
Guest
 
Posts: n/a

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, 06:55 PM
tommaso.gastaldi@uniroma1.it
Guest
 
Posts: n/a

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

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Export Your Displayed Data To Excel Merlin1857 insights 6 March 5th, 2009 12:10 PM
VB6 and Excel keithsimpson3973 answers 0 December 12th, 2006 08:27 PM
Exporting to Excel bobh answers 21 March 23rd, 2006 06:05 PM
Formatting Excel spreadsheet with asp Josh Schmidt answers 1 July 22nd, 2005 01:16 AM