First Question: So I'm sorry if the formatting etc is awful.
I have one very long column of integers and I need to multiply every element by a constant (ex:2) and fill the next column over.
I know how to make it work by looping through each element but I was hoping there was a single command for it.
[D1:D25].Value = [C1:C25*2]
works for me, but it prints 0 where there were null spaces, so I need to define the range more specifically.
How can I define the both ranges in terms of variables and keep the multiplication functioning.
i.e.
.Range(.cells(firstRow, 1),.cells(lrow,1))*2
gives a type mismatch error.