I felt confused about the variables used in this article
http://www.sqldts.com/default.aspx?243
1) ' Tell Excel where to get the data and add a named range to the workbook.
' The DTS pump is expecting a source table of "ImportTable" so we name our range that.
Excel_WorkBook.Names.Add "ImportTable", sActualLocationOfData
What does "ImportTable" mean? Should I change it?
2)' Now set the Excel Filename on the Connection
Set oPkg = DTSGlobalVariables.Parent
Set oConn = oPkg.Connections("Excel File")
What does "Excel File" mean?
3) ¡®Save the changes back to the workbook. If you fail to do this then you will get ¡®a message box asking you if you want to make changes to the Excel spreadsheet¡¯
I always received this message, but can¡¯t figure out why?
Can anyone explain it to me? Thanks!!!
flyfish