I can use MsgBox Cells(Rows.Count, 8).End(xlUp).Value to get the last value in column H.
But now I have formulas in column H, like this =(IF(OR(F35,G35>0), OFFSET(H35,-1,0)- F35+G35,"")) and the msgbox is showing blank because it is looking at the last cell in column H. I need some code to get the last VALUE from that column. So if I have the foumulas in H4:H100 but the last value is in H25, H26:H100 are showing "", I need what in in H25
Thanks
But now I have formulas in column H, like this =(IF(OR(F35,G35>0), OFFSET(H35,-1,0)- F35+G35,"")) and the msgbox is showing blank because it is looking at the last cell in column H. I need some code to get the last VALUE from that column. So if I have the foumulas in H4:H100 but the last value is in H25, H26:H100 are showing "", I need what in in H25
Thanks