SSIS to run a VBS script

Hello Experts Exchange
I have a VBS script that will open a Excel spreadsheet run a macro and the close the file.  I want to be able to run the VBS file within a SSIS package, I have tried to run it with the Execute Process Task but this did not work.

Can you tell me in step by step instructions how I can get my VBS to work in SSIS please?

Regards

SQLSearcher
SQLSearcherAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

YZlatCommented:
did you try using ActiveX Script task?
0
YZlatCommented:
Drag and drop ActiveX Script task, double-click the task, in Script part specify language property as VBScript and in script property click on a 3 dot button and copy and paste your VBScript code there.When you run it, most likely you will get an error that DTS 2000 is not installed. Install it following directions here

http://msdn.microsoft.com/en-us/library/ms143755.aspx
0
SQLSearcherAuthor Commented:
Hello YZlat
I can not see ActiveX Script task in my SSIS Toolbox, is there something I need to do to make this visible?

I am using SQL Server 2012 Standard edition.

Regards

SQLSearcher
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

YZlatCommented:
I am using 2008 and it is there. Perhaps it got removed in 2012. Let me check
0
YZlatCommented:
Do you see Execute Process task?
0
SQLSearcherAuthor Commented:
Hello YZlat
I see Execute Process task but it will not run my VBS script file.

Regards

SQLSearcher
0
SQLSearcherAuthor Commented:
Hello YZlat
I was able to run the VBS script when I put it into a Bat file and then used the Execute Process task to run the Bat file and the Bat file to run the VBS script.

Thank you for your help.

Regards

SQLSearcher
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SQLSearcherAuthor Commented:
My solution has part of the answer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.