Run Excel Macro as part of SSIS task -


I have never taken too much load with SSIS, only very simple stuff, so I hope you Will ignore ignorance. I have a fairly simple package that draws data from Excel to SQL Server. It works great. My problem is that the Excel file contains a macro which updates the data, I believe, a web service that code does not seem to be able to access me. So my question is, can I use a script function to open Excel file, run macro, save it, and then import data?

Okay, before I post the above question, and create a script job that should open the spreadsheet and run the macro. However, when I run it, I get errors, for the first time:

  System.IO.FileNotFoundException: file or assembly 'Microsoft.Office.Interop.Excel.Version = 14.0.0.0 Could not load .0   

Should I attack this problem in a different way? Any suggestions?

Nick

P> Download and install on the machine Where are you running the package. I am not sure that the licensing agreement can allow you to install the assembly on the server. This should solve your problem with hope.

Comments