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.