Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Solution: Open an Access database

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    38
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    My problem was how do you open an Access database. I didn't get a solution from the board, but I thought I'd share it with everyone. I'm sure there are others that would like this code.

    Dim Acc As New Access.Application
    Dim strAcc As String
    strAcc = "complete pathname"
    With Acc
    .OpenCurrentDatabase(strAcc)
    .Visible = True
    .UserControl = True
    End With



  2. #2
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    816
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default

    Menu VBA_Tools_Reference

    Add MS Access Object Library.

    Thats it.
    Suat

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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