Online Home
Sub test()
Dim rng As Range, cell As RangeSet rng = Range("A1:A10")
For Each cell In rngcell.Value = cell.Value * cell.ValueNext cellEnd Sub
or change Set rng = Range("A:A")
for lakhs of values
or
change
Set rng = Selection
No comments:
Post a Comment