I am trying to save values in excel sheet. When i debug my code.Ii can see values in excel sheet but when i check through my local drive data in not being populated. Here is my code
looks a bit like a VBA method call with named arguments:
objExcel.ActiveWorkBook.Close SaveChanges := True
that should be transalted to VBScript positional arguments (assuming the SaveChanges parameter is the first one):
objExcel.ActiveWorkBook.Close True
But your expression evaluates to False (assuming you don't init the variable SaveChanges to a true value). So you get what a programmer not using "Option explicit" deserves: a hidden bug.