Hi All,
I need your help on GetObject function;
The context;
Set myObj = GetObject( ,"Excel.Sheet"
fails though the other conxtext;
Set myObject = GetObject("c:MYDOCU~1\book1.xls", _
"Excel.Sheet"
succeeds even both cases are using "Excel.Sheet".
(NOTE: Former case should use "Excel.Application" instead
of "Excel.Sheet"
HELP file on ERROR 429 says it depends on the class
registerd in the registry but I have no clue to
which class is the good one looking into the HKCR
in case of handling object library such as HTML object,
MS Wallet and even Windows Media Player including Excel.
How I can generally determin the appropriate context for
the registered ActiveX classes from the HKCR registry information in using GetObject function ?
Thanks in advance.
LarryJR
I need your help on GetObject function;
The context;
Set myObj = GetObject( ,"Excel.Sheet"
fails though the other conxtext;
Set myObject = GetObject("c:MYDOCU~1\book1.xls", _
"Excel.Sheet"
succeeds even both cases are using "Excel.Sheet".
(NOTE: Former case should use "Excel.Application" instead
of "Excel.Sheet"
HELP file on ERROR 429 says it depends on the class
registerd in the registry but I have no clue to
which class is the good one looking into the HKCR
in case of handling object library such as HTML object,
MS Wallet and even Windows Media Player including Excel.
How I can generally determin the appropriate context for
the registered ActiveX classes from the HKCR registry information in using GetObject function ?
Thanks in advance.
LarryJR