The Code above shows my simple script. I try to monitor a value in an Excel-Sheet. When i give some explicit values like (1,2,3) for my variable $VDN2 the Monitor works fine. But when i try to read that value from my Excel-Sheet it doesn’t. Does anybody has an idea?

My Excel-Sheet contains a simple table where i want to check only the value ($VDN2 wich is 1, 2 or 3)

jannep answered
    • If you run the script manually does it pick up the values from the excel file? One guess is that the monitoring account does not have permissions to open the Excelfile. Could you setup so that the monitor logs out the values it picks up from the excel file. Try running procmon when the script runs to see if you run into any access denied or file not found.