+ Reply to Thread
Results 1 to 3 of 3

Connect to Oracle database using ODBC when opening worksheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Connect to Oracle database using ODBC when opening worksheet

    Hello all.
    Can someone tell me how should i code the WorkBookOpen() event to connect excel to my Oracle database? I know how to do it using OO4O but not with ODBC.
    Thanks in advance for any help provided.
    Octavio

  2. #2
    Registered User
    Join Date
    12-19-2003
    Location
    Eslöv, Sweden
    Posts
    4

    Hi,

    Have you tried to put it in a macro
    called "Sub Auto_Open()"
    instead ?.

    This macro is called direcly when open the workbook.

    It works as same when closing the workbook
    "Sub Auto_Close()"
    Best Regards
    Tony

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Octavio,

    This site may prove useful for how to connect Oracle with Excel. Have a look and post back if you have anymore questions or need help.

    http://www.marcel-jan.nl/oracle/tips...ips and Tricks

    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1