dbTalk Databases Forums  

Changing Excel file in the DTS task

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Changing Excel file in the DTS task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yunus's Group
 
Posts: n/a

Default Changing Excel file in the DTS task - 06-02-2005 , 05:07 PM






Hello,

Does anyone know how to open and save the excel file without the full
version of excel installed?

Our requirement is, the VBScript code in the DTS package task should
change the sheet name of the excel file to "Sheet1". We do not want to
install full version of Excel in the server just to do this task. I am
hoping that few DLL's from the Excel DLL's list should be able to the
job. I need list of those DLL's.


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Changing Excel file in the DTS task - 06-02-2005 , 05:41 PM






I do not have the list of dlls needed (Should be on Google) but remember
MS do not recommend Office in an unattended environmnet so this may be
an issue if scheduling. You can use CREATE TABLE on the Excel
Connection to create new worksheets/Named Ranges/Tables.

Will that not do what you want?

Allan

"Yunus's Group" <yunusasmath (AT) gmail (DOT) com> wrote


Quote:
Hello,

Does anyone know how to open and save the excel file without the full
version of excel installed?

Our requirement is, the VBScript code in the DTS package task should
change the sheet name of the excel file to "Sheet1". We do not want to
install full version of Excel in the server just to do this task. I am
hoping that few DLL's from the Excel DLL's list should be able to the
job. I need list of those DLL's.


Reply With Quote
  #3  
Old   
Yunus's Group
 
Posts: n/a

Default Re: Changing Excel file in the DTS task - 06-03-2005 , 12:57 PM



Actually we get the excel file with the sheet name which is different
from what it needs to be. So, I thought of putting the task of changing
the sheet name part of the DTS process. I can write the code in ActiveX
script task in the DTS package to do this. But the problem is that we
need to install Excel in the server. I was wondering if I can get the
job done just by copying the few DLL's, I do not have to install the
excel on the server just to take care of this small issue. By the way
we have the corporate wide licence for the excel. I just need help in
choosing the right DLL's.


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.