Hi
this macro not work in shard workbook I want run in shard workbook.Please help for this
Option Explicit
Private Sub Workbook_Open()
Dim nextrow As Long
nextrow = Sheet3.Cells(Rows.Count, "A").End(xlUp).Row
With Sheet3
.Cells(nextrow, "A") = Environ("username")
.Cells(nextrow, "B") = Now
End With
End Sub
this macro not work in shard workbook I want run in shard workbook.Please help for this
Option Explicit
Private Sub Workbook_Open()
Dim nextrow As Long
nextrow = Sheet3.Cells(Rows.Count, "A").End(xlUp).Row
With Sheet3
.Cells(nextrow, "A") = Environ("username")
.Cells(nextrow, "B") = Now
End With
End Sub