Unix Technical Forum

Call DTS package from VBA/Excel?

This is a discussion on Call DTS package from VBA/Excel? within the SQL Server forums, part of the Microsoft SQL Server category; --> Can you call a DTS package using VBA (specifically from Excel). I would like to have a command button ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:08 AM
Chad Richardson
 
Posts: n/a
Default Call DTS package from VBA/Excel?

Can you call a DTS package using VBA (specifically from Excel). I would like
to have a command button to launch a DTS package that extracts data from the
spreadsheet to SQL Server. Today I have to open up Enterprise Manager to do
this.

Any code examples would be great too if this is possible.

Thanks,
Chad


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 07:08 AM
Thomas R. Hummel
 
Posts: n/a
Default Re: Call DTS package from VBA/Excel?

Look up "Executing DTS Packages in Visual Basic" in Books online or on
the Microsoft website.

-Tom.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com