Call API from vbscript via excel.
This script is a logoff script that will run everytime someone logoffs
a computer via group policy. I don't want my script to run when a
user closes Excel. I only want it to run when a user logs off a
computer so that it can check for VMware's executible. If the
executible is found I need to use macros in excel to call the API to
prevent logoff from happening. I didn't know a user could "log off"
excel. I'll try the other newsgroup you suggested.
As far as needing a service... I don't know how to program that. My
knowledge is only in scripting.
|