Bit of a long shot but you never know if you don't ask...
Does anyone know of a quick way to find the starting "IF something THEN" command from an "Else" or "End If" command?
Bear with me...
We've all been in the position where an If..Else..End If block can have hundreds of lines of code in the block and it can have multiple inner If...End If blocks.
If I see an "Else" or "End If" that I'm debugging the only way to find the original "IF" command is to judge indent width which can be a real pain if there's "With" and "If" and "Do" blocks all over the place.
I don't suppose there's a quicker solution something like Ctrl-Shift-F2 to go to a variable decalaration?
Does anyone know of a quick way to find the starting "IF something THEN" command from an "Else" or "End If" command?
Bear with me...
We've all been in the position where an If..Else..End If block can have hundreds of lines of code in the block and it can have multiple inner If...End If blocks.
If I see an "Else" or "End If" that I'm debugging the only way to find the original "IF" command is to judge indent width which can be a real pain if there's "With" and "If" and "Do" blocks all over the place.
I don't suppose there's a quicker solution something like Ctrl-Shift-F2 to go to a variable decalaration?