Can someone tell me how I can refresh LastRow. It uses the same row for every sheet and I need it to be the LastRow for every sheet.
Z
Code:
Dim TabNumber As Worksheet
For Each TabNumber In ActiveWorkbook.Worksheets
If TabNumber.Name <> "Welcome" Then
With TabNumber
Lastrow = Cells.Find(what:="*", searchdirection:=x1Previous, searchorder:=x1ByRows) .Row
TabNumber.Cells(LastRow, 6).Value = Time
TabNumber.Cells(LastRow, 7).Value = "h:mm:ss;@"
TabNumber.Cells(LastRow, 7).Formula = TabNumber.Cells(LastRow, 6) - TabNumber.Cells(LastRow, 5)
End With
End If
Next TabNumber
Z