Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Run Access Report From Within Excel (03)

    Is it possible to run an Access report from within Excel?

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Run Access Report From Within Excel (03)

    You'd have to start Access, open the database and open the report. This can be done using Automation, for example:

    Dim app As Object
    Set app = CreateObject("Access.Application")
    app.OpenCurrentDatabase "C:AccessTest.mdb"
    app.DoCmd.OpenReport "rptCategories", 2 ' = acViewPreview
    app.Visible = True
    Set app = Nothing

Posting Permissions

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