B
Brad
I am using the following VBA code line in Excel 2003 to prompt for a symbol:
UserVal = UCase(Application.InputBox("Symbol?", , MyLastSymbol, , , , , 2))
and it works fine. The "MyLast Symbol" places a defaulted value there for me
to accept automatically or change the input.
But, I have an occasion where what I really need is to prompt for a value to
be assigned to a variable based on the next selected cell I would click on.
If I could combine this with the InputBox format, that would be great.
My thanks in advance for any suggestions.
Brad
UserVal = UCase(Application.InputBox("Symbol?", , MyLastSymbol, , , , , 2))
and it works fine. The "MyLast Symbol" places a defaulted value there for me
to accept automatically or change the input.
But, I have an occasion where what I really need is to prompt for a value to
be assigned to a variable based on the next selected cell I would click on.
If I could combine this with the InputBox format, that would be great.
My thanks in advance for any suggestions.
Brad