Hi Babar,
Thanks a lot for your assistance.
I have tried to start with "hello world" but somehow I guess I am not going correct with the syntax. I am writing this code in a software "socrates" and following is the code snippet.
@Dim strQty:S,tmpCostNum:N,tmpPriceNum:N,tmpPartNum:S,tmpCustPartNum:S,tmpLT:S
@dim j:N,tmpBrand:S
@dim tmpPC:N,tmpPercentMargin:N, tmpTotalPriceNum:N,tmpExtendedPriceNum:N,tmpExtendedCostNum:N
@dim tmpTotalPercentMargin:N, tmpTotalPC:N, tmpTotalCostNum:N,tmpQtyNum:N,tmpLPM:N,tmpItemNumber:S
@Dim tmpNLLoss:N, tmpLLoss:N, tmpCOL:N, tmpTOC:N, tmpList:N, tmpBTCStd:N, tmpBTCOpt:N, tmpStdPkgQty:N,tmpZPR0:N
@Dim locDate:S, locTime:S, locTDStamp:S, tmpLPMSource:S
@Assign tmpCostNum = '1'
@debug tmpCostNum
@Dim intResultsFound:N, intIndex:N, strSQL:S, i:N, loc_UserList:S
@Dim strPropID:S, strResp:S, strCreate:S, strDue:S, strInqID:S
@Dim strDateGiven:S, strSoldTo:S, strEndUser:S, strStatus:S, sDueTime:S, sPriority:S, sTmp:S
@Rem Dim oExcel:O, oWorkbook:O, oSheet:O
@Date locDate
@Time locTime
@Assign locTDStamp = 'Margin Rpt created ' & locTime & ', ' & locDate
@Assign tmpPriceNum = '2'
@debug tmpPriceNum
@If QuoteSearchLocation = 'Local'
@Assign ics_WildCard = '%'
@Else
@Assign ics_WildCard = '%25'
@Endif
@Rem Create a License object
@Assign license As License = New License()
@Rem Set the license of Aspose.Cells to avoid the evaluation
@Rem limitations
@Assign license.SetLicense("Aspose.Cells.lic")
@Rem Instantiate a Workbook object that represents Excel file.
@Assign wb As Workbook = New Workbook()
@Rem Note when you create a new workbook, a default worksheet
@Rem "Sheet1" is added (by default) to the workbook.
@Rem Access the first worksheet "Sheet1" in the boo
@Assign sheet As Worksheet = wb.Worksheets(0)
@Rem Access the "A1" cell in the sheet.
@Assign cell As Cell = sheet.Cells("A7")
@Rem Input the "Hello World!" text into the "A1" cell
@ Assign cell.PutValue("Hello World!")
@Rem Save the Excel file.
@Assign wb.Save("d:\MyBook.xls", SaveFormat.Excel97To2003)
Can you please have a look and guide me through this. "@Rem" are the commented lines of code.
Regards,
Varun Kapoor