![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello Drew, Although nothing jumps out as being obviously wrong, here are some gotcha's that I will share with you. (1) Use "Option Explicit". *Above Function Main(), put "Option Explicit" on its own line. *That way it'll flag all variables you haven't DIM'd, like misspellings. (2) Make sure all global variables TRULY exist. *Case matters here. *For example: "gv_ExcelLink" and "gv_excelLink" are two different variables, although you will bang your head against a wall for a good part of the day figuring that out. *Save you head. My gut feeling is that DTSGlobalVariables("gv_ExcelLink").Value is a spelling/case variation on what's really out there. *In short, you're trying to assign a NULL value. Also, try putting more MsgBox's thru the code. *Maybe that'll help you pinpoint the problem. Let us know how you make out. Best Regards, Tom Bradshaw Thomas Bradshaw Data Integration Services MyWebGrocer LLC -- Message posted via SQLMonster.comhttp://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-dts/200903/1 |
![]() |
| Thread Tools | |
| Display Modes | |
| |