Local schedule agent

HII am having local schedule agent , it open the excel sheet in the same system and create document in same database. the system has admin rights. When i run the agent manually it create doc in the database, but if i schedule the agent is not creating document , it seems it couldnt open the excel file . i am not getting any error. The system has admin rights too, any idea for this problem

Subject: local?

When you say local, you mean running on a PC, not a server?

Where is the excel file? On the PC or on a network?

Does the user logged into the PC have access to the excel file (if it’s on a network)? Does the user logged into Notes on the PC have access to the database?

If you don’t mean a PC, but mean a server, then make sure the server has access to the excel file of course

Subject: ui used?

how is the agent coded? does it use any ui-classes (won’t work)?if you need help, you should be more specific or provide code.