|
-
October 15th, 2001, 12:32 PM
#1
How to open a specific Excel document from VB code ?
I'm trying to open an Excel document using the Excel9.olb library.
The following code creates an instance on Excel App:
Set ExcelSheet = CreateObject("Excel.Sheet")
But how do I open a specific document (by path and name) without using the "GetObject" function.
I must use the "CreateObject(...)" before opening the file.
Thanks !
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
|