Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50139

Define a Variable that equals the Row Number I have selected when I start the Macro

$
0
0
Hello,

The answer to the subject will solve my problem--if I place my cursor in a cell and then start a macro, can I get it to "grab" the row number I'm in for use later in the macro? I've tried a few things with relative references, trying to equate things, and trying to play with the data type, but I can't get it to work.

Thank you!

Viewing all articles
Browse latest Browse all 50139

Trending Articles