Hi
I just wrote my first macro in Excel, but the problem is not saving any changes I make when I click the close button on the right top corner.
Can anyone help, please?
Sub Auto_Close()
Dim OrigName As String
OrigName = ActiveWorkbook.FullName
ActiveWorkbook.Save
End sub
thanks
dfuas
I just wrote my first macro in Excel, but the problem is not saving any changes I make when I click the close button on the right top corner.
Can anyone help, please?
Sub Auto_Close()
Dim OrigName As String
OrigName = ActiveWorkbook.FullName
ActiveWorkbook.Save
End sub
thanks
dfuas