|
-
October 28th, 1998, 11:31 AM
#1
GetObject("",Excel.application)
I tried:
myxl=GetObject("",Excel.Application)
Just exactly as in the vb help file, but it doesn't work.
I have a VBA reference in my project.
This statement works OK:
Myxl=GetObjext("path\book.xls")
But it doesn't help if the .xls is already open.
TIA
-
October 29th, 1998, 05:00 AM
#2
Re: GetObject("",Excel.application)
try this:
GetObject(,"Excel.Application")
Bye
Jurgen
-
October 29th, 1998, 03:50 PM
#3
Re: GetObject("",Excel.application)
hi guy,
try this
dim MyXL as object
set MyXL = getobject("","Excel.application")
It should work...
__Neph__
-
November 4th, 1999, 10:22 PM
#4
Re: GetObject("",Excel.application)
Is there coresponding routine in VC like GetObject() in VB.
ShengTian Liao
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|