Thanks. I'm still having some trouble, so let's test my understanding of this.
My macro is called "Jump".
The cell where I would put the information is A1. If I type in the letter
"a" (no quotes), I would like to automatically run macro "Jump".
"...in the worksheet code module..."
That's the general "Microsoft Visual Basic Editor", right? So I'm typing
below my macro code?
If Target.Column = 1 Then
This is saying, look anywhere in Column A for the input. If I wanted to have
it look at Column B, I would change this to "If Target.Column = 2", Column E
"If Target.Column = 5" and so on.
If Target.Value = "a" Then
Again, if anywhere in Column A I type the letter "a", then it will run the
next line. If I wanted to have it run the macro whenever I typed in the word
"globular", I would change this line of code to "If Target.Value = "globular"
Then".
Here I got stuck.
I typed it exactly as above:
' call macro Jump
and it turned green, like a comment line.
So I typed
Call macro Jump
and get the "Compile error: Expected: end of statement"
So I typed simply
Call Jump
and it let me go.
NOW....
When I go back to my spreadsheet, NOTHING HAPPENS. I have tested my macro -
if I select "Jump" from the macro list,it runs correctly.
But when I type in columnn A, I get nothing.
What am I missing here?
Thanks - it looked like an elegant and simple solution! (And it probably
is... I just can't get it off the ground.)