Hey everyone ..
Two columns:
Date Price
Jan-78 11.46
Feb -78 12.56
So on? So on?
I am trying to create a Do Loop that identifies the first row as RecordMonth and RecordPrice (i.e. the highest price so far in the data and the month associated with that price) and then goes down the column and replaces the RecordPrice and RecordMonth when it encounters a higher value.
In the beginning I have asked for a month (InputBox) and I want it to do this until and including the month specified by user.
So the outcome would be that the macro tells me the record price and in what month up until the month specified by the eventual user.
At this moment my code is a mix up and isn?t getting me the desired result. Any help would be appreciated. Thank you