Creating a Reference to an Excel Object

<< Click to Display Table of Contents >>

Navigation:  Macro Samples >

Creating a Reference to an Excel Object

;Create objects
appExcel = CreateObject("Excel.Application")
appExcel.Visible = True
Set iLine = 1
appExcel.activesheet.cells(2,1).value = GetString(iLine+6, 6, 8)

appExcel = Nothing
End