create excel worksheet from Active X Script Task Props
From: chris (anonymous_at_discussions.microsoft.com)
Date: 03/26/04
- Previous message: Josef: "Re: BulkInserts"
- Next in thread: Allan Mitchell: "Re: create excel work*** from Active X Script Task Props"
- Reply: Allan Mitchell: "Re: create excel work*** from Active X Script Task Props"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Mar 2004 16:23:48 -0800
sql2k sp3
In Active X Script Task Props, I can use the
FileSystemObject to create a file.
Function Main()
Dim fso, MyFile
Set fso = CreateObject
("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile("\\packrat\Dept-
IT\chris\excel\DailyRefundFromSQL\sqlout.xls", True)
Main = DTSTaskExecResult_Success
End Function
Is there something that can replace the FSO to create an
Excel file in a readable format?
Sample code would be ideal?
TIA, Chris
- Previous message: Josef: "Re: BulkInserts"
- Next in thread: Allan Mitchell: "Re: create excel work*** from Active X Script Task Props"
- Reply: Allan Mitchell: "Re: create excel work*** from Active X Script Task Props"
- Messages sorted by: [ date ] [ thread ]