11-06-2012, 06:05 PM
[quote='shwetha_m' pid='19969' dateline='1328977787']
Hi I am new to this tool, Can any one pls send me step by step procedure on how to read and write the data in excel?
Regards,
Shwetha
Hi Shweta,
PFB:
Hi I am new to this tool, Can any one pls send me step by step procedure on how to read and write the data in excel?
Regards,
Shwetha
Hi Shweta,
PFB:
Code:
dim ExcelObj ,NewSheet
Set ExcelObj = CreateObject("Excel.Application")
ExcelObj.Workbooks.Add
Set NewSheet = ExcelObj.Sheets.Item(1)
NewSheet.Name = "name of excel file"
NewSheet.Cells(2,2) = variable or string
ExcelObj.ActiveWorkbook.SaveAs "D:\name of excel file"
ExcelObj.Quit