Expression does not produce a value

Hi,

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,
image

@kuppu_samy
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

2 Likes

Hi @kuppu_samy

Can you try using it in invoke code activity

Thanks
Ashwin S

1 Like

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

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