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 > ASP > ASP Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-11-06, 06:07
archMEL archMEL is offline
Registered User
 
Join Date: Sep 2006
Posts: 8
ASP Excel

I want to move some data coming from 1-2 queries i use in one .asp page to an excel sheet file?
How can I manage this ???
Reply With Quote
  #2 (permalink)  
Old 09-11-06, 06:54
archMEL archMEL is offline
Registered User
 
Join Date: Sep 2006
Posts: 8
Never

NEver mind I figured it out.

Using...

set fso = createobject("scripting.filesystemobject")
Set act = fso.CreateTextFile(server.mappath(""&g_filename & "-"& month(date())& day(date())& year(date()) &".xls"), true)

act.WriteLine "<html xmlns:x=""urn:schemas-microsoft-comffice:excel"">"
act.WriteLine "<head>"


I replied to myself !!!
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On