Results 1 to 6 of 6
  1. #1
    uaguy3005 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    45

    Access to Excel Exchange

    I have created a database to maintain an Quality Alert list (sort of an open issues list). I would like to add a button to the form that will open a blank excel form, that is saved on a network drive, and populate some of the cells with data that the user entered on the Access form. Any help would be appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    This should get you started:

    http://support.microsoft.com/kb/247412
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    uaguy3005 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    45
    Quote Originally Posted by pbaldy View Post
    This should get you started:

    http://support.microsoft.com/kb/247412

    Excellent! Thanks for the help. Got it figured out

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Excellent! Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    tobydobo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    169
    Hello,

    This thread seems to be what I need; however, I need to be able to open an existing excel template and have access populate specific fields, then save as specific file name. Could you help me with the syntax?

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Generically:

    Set xl = CreateObject("excel.application")

    xl.Workbooks.Open (strFile)

    Where strFile is the path to the existing file. I suspect the rest is in that link.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Need help with stock exchange database
    By henjin in forum Access
    Replies: 9
    Last Post: 05-14-2012, 03:46 AM
  2. Access to Outlook Exchange Calendar
    By avarusbrightfyre in forum Import/Export Data
    Replies: 3
    Last Post: 01-31-2012, 01:49 PM
  3. VBA Code for Mail Merge via Dynamic Data Exchange
    By Ganymede in forum Programming
    Replies: 2
    Last Post: 12-28-2011, 05:20 PM
  4. Exchange calendar appointments
    By avarusbrightfyre in forum Import/Export Data
    Replies: 1
    Last Post: 10-31-2011, 12:15 PM
  5. Replies: 1
    Last Post: 08-31-2009, 10:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums