yrmahajan
10-14-2003, 04:48 PM
Hello,
But for somereason I cannot figure out how to open an existing excel application. Can someone please show me how to open a existing excel file nad insert the data from excel into MSflexgrid as well as some textbox?
Here is what I did
Dim ExcelApp As Excel.Application
set ExcelApp = New Excel.Application
ExcelApp.Workbooks.Open(sfilename)
but it gives an error on Excel.Application
I appreciate any help,
Yogesh
But for somereason I cannot figure out how to open an existing excel application. Can someone please show me how to open a existing excel file nad insert the data from excel into MSflexgrid as well as some textbox?
Here is what I did
Dim ExcelApp As Excel.Application
set ExcelApp = New Excel.Application
ExcelApp.Workbooks.Open(sfilename)
but it gives an error on Excel.Application
I appreciate any help,
Yogesh