Is it possible to lock a excel file but the bot can open it to do the process


You can do in two ways

  1. Password protect the excel, and provide the password to the excel application scope

  2. Encryption of the file : By using Cryptography activities, Use Encrypt File activity to encrypt entire file using a key, now use Decrypt File activity to decrypt the file and that file can be used in your bot process


Hope this will help you