I feel like I am missing something. I have a table with ID, Name, Status as headers. The table's headers start at B2 and data starts at B3 The table is dynamic and generated by vba code from another workbook. There may be times it is filtered data but there are no gaps in the table.
There are times a user will select someone in the Name column (C). A button click should bring them down to the last record.
I get that there are lots of ways to accomplish this but I cannot seem to get any of them to work and I can't figure out why.
Here is my current code but I have tried UsedRange, CurrentRegion, Table names, the whole works.
Sub MoveToLastRow()
Dim LastRow As Long
LastRow = ActiveSheet.Cells(Rows.Count, "C").End(x1Up).Row
End Sub
I click on the button or try to step through the code with a name selected and it just does nothing.
Thank you for your input. ~Don