I am trying to save a pipe delimited text file into an excel worksheet format. I am having some errors in the code, below is my code:
TextFile.SaveAs(Filename:=strExcelOutputFilename,
FileFormat:=Excel.XlFileFormat.xlWorkbookNormal);
Where TextFile is an Excel.Workbook object (Editor's note).
I am having some syntax errors at TextFile.SaveAs portion. Please help me identify any other errors if I have made them, thanks alot!
EDIT:
After correction of := to : (Editor's note)
Below is a screenshot of the lines i am having error at, as well as the error list:
