Re: Storing Output values
This is a very simple code that will allow you to store values in an Excel Worksheet:
Save the two output values in "FOutputValue" and "SOutputValue" and use the following code:
(Pre-req: Create a dummy file named dummy.xls in the root folder)
Set ExcelAppl=CreateObject("Excel.Application")
Set WrkBook=ExcelAppl.Workbooks.Open("C:\dummy.xls")
Set sheetPrimary=WrkBook.Activesheet
sheetPrimary.Cells(1,1)=""&FOutputValue
sheetPrimary.Cells(1,2)=""&SOutputValue
WrkBook.Save
ExcelAppl.Quit