MsgBox AB - this part of the code is used to show us the result in a message box.End(xlUp).Row - this will be the indicator to VBA as the the end key and up i.e. AB = Cells(Rows.Count, 1) - To find the last row you need to count how many rows there are in the first column.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |