This should help.
Sub FindLastColumn()
Dim lngLastColumn As Long
lngLastColumn = ActiveSheet.Rows(1).Find(What:="", _
After:=Cells(1, 15), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=True, _
SearchFormat:=False).Column
Cells(1, lngLastColumn) = ActiveSheet.Name
End Sub
If this helps let me know. Click "YES" below.