I need to convert excel to .binary and i have decided to use invoke vba activity for that.
The following is my code:
ActiveWorkbook.SaveAs XslbFilePath, FileFormat:=50
Application.DisplayAlerts = False
And this is how i use the invoke vba:
Variable “XslbFilePath” is actually of string type which contains filepath where to save the file.
But it failed when runs, and I think the problem is, because my Entry method parameters not right.
Error message is:
Can you please tell me what is wrong?
Thank you for your help.