Expression does not produce a value


I am using Spire.XLS.Workbook package for custom activities (Documentation Here).

I couldn’t add/assign the variable’s attribute WorkBookFile.LoadFromFile("Log.xlsx"). It doesn’t consider as a valid expression.

Refer the screenshot below,

You can crosscheck If this method hast a Return of Not. However give a try on invoke Methode Activity. But ensure workbookfile var is Not null


Hi @kuppu_samy

Can you try using it in invoke code activity

Ashwin S

Yes it worked :fire:. Thanks @ppr @AshwinS2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.