This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting error as "Expected Expression " in error time but no issue on runtime .How to remove the error?

Developed a script which has a function file .

In the function file , there is line of code like

Set oSheet=XLBook.Sheets.Add( , XLBook.Sheets(XLBook.Sheets.Count))

In the error tab , this line is giving error as "Expected expression".

But during execution , it runs without any issue .

Can someone please help me to remove the error message.