I want a button that would at the click of a button update a range of values (given in two cells) with original values * 1.5
i.e.
I would have values in Cell A1 and A2 defining the 'range'
I guess I could use Cells(rowIndex,colIndex), but then I would have to enter 1 instead of A for start/end ranges!
i.e.
I would have values in Cell A1 and A2 defining the 'range'
Code:
Dim myA1 as String
Dim myA2 as String
myStart = Sheets(1).Range("A1")
myFinish = Sheets(1).Range("A2")
'The following doesn't work, nice try, though, isn't it!
With Sheets(1).Range(myStart:MyFinish).Cells
.Value = .Value * 2
End With;
I guess I could use Cells(rowIndex,colIndex), but then I would have to enter 1 instead of A for start/end ranges!