dbTalk Databases Forums  

Excel DTS Question

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


Discuss Excel DTS Question in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ray
 
Posts: n/a

Default Excel DTS Question - 01-15-2004 , 10:22 AM






Is there a way in Active X to set an Excel worksheet
object (from a parameter) and loop through the tabs
importing data? Our client insists on keeping critical
data in spreadsheets that need to be uploaded on a nightly
basis. The sheets vary in numbers of tabs, and I would
rather not hardcode them.

Thank you,
Ray

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

Default Re: Excel DTS Question - 01-15-2004 , 10:28 AM






Are all sheets the same structure ?

If yes then you can loop through the worksheets collection and set the
properties as you go.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Ray" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Is there a way in Active X to set an Excel worksheet
object (from a parameter) and loop through the tabs
importing data? Our client insists on keeping critical
data in spreadsheets that need to be uploaded on a nightly
basis. The sheets vary in numbers of tabs, and I would
rather not hardcode them.

Thank you,
Ray



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.