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

Question on ActiveCell.Value And Selection

$
0
0
Hello all,
I am familiar of the "Selection = (Variable) -or- (Variable) = Selection" syntax to refer to the contents of the current cell, and of the ActiveCell.Value property which I recently picked up.
Is there any reason to use one over the other?
Some bugs in my program were caused possibly because I used Selection instead of ActiveCell.Value (based on results, that seemed to be the probable cause) so I was wondering if one would rather use ActiveCell.Value rather then "Selection = (Variable) -or- (Variable) = Selection"
Hope I am making myself clear.

-JM967

Viewing all articles
Browse latest Browse all 50085

Trending Articles