I never really tried VBScripts via functions in Neobook, now I have a question about VBScripts and Neobook Variables.
Below is a part of my script. I want to write into A excel file, the text "Customer name:" is normally written but the Neobook variables are empty
Code: Select all
obj
. First I tried this:
objExcel.Range("A1").Select
objExcel.ActiveCell.FormulaR1C1 = "Customer name:"
objExcel.Range("B1").Select
objExcel.ActiveCell.FormulaR1C1 = "[Fis.CoreIn.RID]"
.Then this:
objExcel.Range("A1").Select
objExcel.ActiveCell.FormulaR1C1 = "Customer name:"
objExcel.Range("B1").Select
objExcel.ActiveCell.FormulaR1C1 = [Fis.CoreIn.RID]
.From the Neobook manual, I tried publication.nbGetVar
objExcel.Range("A1").Select
objExcel.ActiveCell.FormulaR1C1 = "Customer name:"
objExcel.Range("B1").Select
objExcel.ActiveCell.FormulaR1C1 = publication.nbGetVar( "[Fis.CoreIn.RID]" )
Best regards,
Eric