Jaafar Tribak
Well-known Member
- Joined
- Dec 5, 2002
- Messages
- 9,806
- Office Version
- 2016
- Platform
- Windows
I have a Macro that runs upon opening a workbook but I only want the code to run if the workbook was opened by the Windows Task Scheduler.
Does Excel has a way of detecting how the workbook was launched ? ie via the User or via the task scheduler .
Thanks all.
Does Excel has a way of detecting how the workbook was launched ? ie via the User or via the task scheduler .
Thanks all.