Greetings to the Board! It's been a while since I last posted - so long I did not recognize the new layout! Looks great, and good to see the 'old timers' now as moderators.

I've got what I think is a simple question for some of you. I'm trying to open an Excel worksheet with KiX and a Scheduled Task. But, I get a failure when running the open command (Error 6, invalid file handle). But, when I run script with same user id from command line it runs fine! I snagged my code from a long-time existing script that works fine, so I am thinking problem is not KiX. Any assistance would be appreciated. Code is:
Code:

$FilXls = "nobill.xls"
$DirScr = @SCRIPTDIR
$XlsCur = $DirScr + "\" + $FilXls
$oXL = CreateObject("Excel.application")
$xlOpen = $oXL.Workbooks.Open ("$XlsCur")
; (error generated on above line)