Sorry the title is such a tease, but I couldn't think of a succinct
way to describe things in 10 words-or-less, let alone 50.

Here's the deal...

In Excel, let's say you have an arrangement something like this:
Code:
     A    B
1    1    1     
2         2
3         3
4         3
5         3
6    1    1 
7         3
8         3
If the cursor is in A1 and you press Ctrl-DnArrow, you'll "jump" to A6.
Fine.

Now, in the VB6 IDE, consider the following:

Code:
 1. Sub MySub1()
 2.     a = 1
 3.     b = 1
 4.     c = 1
 5.     If a + b = 2 Then
 6.         d = 2
 7.         d = 2
 8.         d = 2
 9.         d = 2
10.         d = 2
11.         d = 2
12.     End If
13.     a = 1
14. End Sub
-----------------------------------
15. Sub MySub2()
16.     a = 1
17.     b = 1
18.     c = 1
19.     If a + b = 2 Then
20.         d = 2
21.     End If
22. End Sub
If the cursor is at the I in If in line 5, the IDE will report Ln 5, Col 5.

If you press Ctrl-PgDn, the cursor will "jump" to the S in Sub on line
15, and the IDE will report Ln 15, col 1.
Fine.

If, on the other hand, you press Ctrl-DnArrow, the same thing happens.
Boo.

Goal:

What I'm trying to accomplish is to have the cursor "jump" to the
E in End If, that is, Ln 12, col 5., in a similar way that it does in Excel.

Is this possible?
If so, how?

Spoo