C
Cecilia Reyes
... i guess.
well i have the following code in an access module:
To open a excell worksheet from access through Automation
dim HojaExcell as Excell.Worksheet
set HojaExcell = CreateObject("Excell.Sheet")
but it seems to be wrong i dont know why.
i tried also
Dim appXL As Excel.Application
Dim wbk As Workbook, wks As Worksheet
Set appXL = CreateObject("Excel.Application")
Set wbk = appXL.Workbooks.Add
Set wks = wbk.Worksheets(1)
and i know it works but maybe somebody could explain why
it doesnt work?
thanks in advance.
CEcilia.
well i have the following code in an access module:
To open a excell worksheet from access through Automation
dim HojaExcell as Excell.Worksheet
set HojaExcell = CreateObject("Excell.Sheet")
but it seems to be wrong i dont know why.
i tried also
Dim appXL As Excel.Application
Dim wbk As Workbook, wks As Worksheet
Set appXL = CreateObject("Excel.Application")
Set wbk = appXL.Workbooks.Add
Set wks = wbk.Worksheets(1)
and i know it works but maybe somebody could explain why
it doesnt work?
thanks in advance.
CEcilia.