06-19-2023 09:49 AM
Hi all,
I created a labview application which, among its functions, launches an excel macro.
The application is launched every day via the task scheduler which has been configured with the "Run whether user is logged on or not" option.
On opening the task manager, both the labview and excel application appear in the background processes, but the macro is not executed.
By changing the Task scheduler option to "Run only when user is logged on", the macro works.
Thanks in advance for the help
06-19-2023 11:29 AM - edited 06-19-2023 11:30 AM
I believe not being able to run an Excel macro when logged out to be an Excel issue related to security.
I don't know if there is a solution, but I would scan some of the Excel help forums for answers.
06-19-2023 09:14 PM
Claudiot
You may check this option. "Run with highest privileges".
06-20-2023 01:49 AM
the option "Run with highest privileges" is flagged
I tried to change the excel security but it didn't work