Hi,
In column A I've got dates and in column B I've got different text strings.
I would like to find the most recent text string (maximum value in A with corresponding value in B). This to be inserted into a comment, such as this:
Where "SisteRev" should be the most recent text string. Can anyone help me with this?
In column A I've got dates and in column B I've got different text strings.
I would like to find the most recent text string (maximum value in A with corresponding value in B). This to be inserted into a comment, such as this:
Code:
SisteRev =
Range("J10").ClearComments
Range("J10").AddComment
Range("J10").Comment.Text Text:="Siste rev.:" & Chr(10) & SisteRev
Where "SisteRev" should be the most recent text string. Can anyone help me with this?