If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > "Data Source=application.workboos

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-06, 11:08
akalehzan akalehzan is offline
Registered User
 
Join Date: Feb 2004
Location: CA
Posts: 8
"Data Source=application.workboos

Hi all,

I have the following Data Source in ADODB.Connection:
"Data Source=D:\Book1.xls;" & _
"Extended Properties=Excel 8.0"


Is there a way to point it to the existing open Workbook with out giving the path?

Example:
"Data Source=Application.workbooks("Books("Book1.xls").W oksheets("Import").Activate;" & _
"Extended Properties=Excel 8.0"

The above example does not work, so I was wondering if any one can suggest me any solution.

Thanks for any help.

Abrahim
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On