I had some code that worked fine where I set a variable using its range name like this:
[Constraint1] = szTemp
The function that contained this code was called and triggered by a worksheet change event.
I now have it set up that the function is called by a cell formula, and now when that line of code is executed, everything stops cold. When I step through the debugger the active line just goes away as if I had reached the end of my code.
The only change I can think of is the way the function is called and I am not sure if that is the culprit or not. Is there some rule for setting variables by using their range name?
thanks
Fred Emmerich
[Constraint1] = szTemp
The function that contained this code was called and triggered by a worksheet change event.
I now have it set up that the function is called by a cell formula, and now when that line of code is executed, everything stops cold. When I step through the debugger the active line just goes away as if I had reached the end of my code.
The only change I can think of is the way the function is called and I am not sure if that is the culprit or not. Is there some rule for setting variables by using their range name?
thanks
Fred Emmerich