Brown207,
TY for your help .. I forgot to mention in my first post that I use the var "RowNumber" as a global variable, this way I can use it throughout the script without having to use keep DIM'n it over and over in each function. I reworked your updated code into my function and it now looks like this.
Here is one thing I that I DON'T understand. Using the code you corrected I noticed that you declared 'CTNasNumber as string' inside the function "Prep_TestCCName".
Where I am stumped is I have another procedure inside the same module where I am doing the same basic thing, I have a function call w/ a variable I am passing back and forth .. and that works. My exception is that I do NOT declare "vlParCC" inside the Function "Prep_vLookUp_PartialCC". Using your fix I had to declare CTNasNumber .. why is my function "Prep_vLookUp_PartialCC" working WITHOUT having to declare vlParCC ??
Bookmarks