L
Legacy 185509
Guest
Hi
I have Macro that runs automatically when file is open
but I want to run once only but this code is repeating itself again again intead of running just once
please help
thank you
second line is commented out, I am using windows task schedule to open the file and stuff
I have Macro that runs automatically when file is open
but I want to run once only but this code is repeating itself again again intead of running just once
please help
thank you
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.OnTime Now + TimeValue("00:00:15"), "Mail_Selection"
'Application.OnTime TimeValue("08:52:00"), "Mail_Selection"
End Sub
second line is commented out, I am using windows task schedule to open the file and stuff