excel to flex grid

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

mark007
10-15-2003, 04:54 AM
Hav eyou added a refernec to the Excel object model? Project/references.

What was the error if this isn't the problem?
:)

yrmahajan
10-18-2003, 10:33 PM
Hav eyou added a refernec to the Excel object model? Project/references.

What was the error if this isn't the problem?
:)

Thanks Mark for responding
I found the answer

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum