Jump to content
Server Maintenance This Week. ×

ScribeDocLoad excel file with password


This topic is 1065 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Ryan,

Thanks for the quick response. I am confused on how to get the script to work. How do I use the $load variable to load the document?

My script works fine on a non-password protected file.

Thanks

Link to comment
Share on other sites

Calling a Set Variable script step with a plugin function as the value executes the plugin function. In this case, ScribeDocLoad is executed and will set the value of the $load variable to 1 if the document was successfully loaded or ERROR if there was an error loading the document. 

Link to comment
Share on other sites

  • Newbies

Thanks for your patience... here's my script -

Set Variable [ $Load; Value:ScribeDocLoad(Invoice::TMMprice;"password=MySecretPassword") ]
// Set Variable [ $MpriceQty; Value:ScribeDocReadValue("Web Price!C8") ]
// Set Field [ Invoice::TMQty; $MpriceQty ]
// ScribeDocCancel

 

This is the error message:

image.png.ce4783b5991cbb8842ab1403d7317486.png

Link to comment
Share on other sites

Hi Ed,

I was able to reproduce this error. It seems there is a bug when trying to supply a password for a password protected Excel file. I will report this to our developers. I am not sure when this issue will be addressed but I will bump this thread once I have a fix or more information.

Link to comment
Share on other sites

This topic is 1065 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.