I've got a variable called strShtName, declared as a string.
It's set once at the top of a loop.
Way down in the loop, a function is called
If TblShapeExists(strShtName) Is Nothing Then
Half way through the function, the value of strShtName is changed on the line in red below. There's a...