+ Reply to Thread
Results 1 to 4 of 4

Open Excel Template from Access Command

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    Minneapolis MN
    MS-Off Ver
    Excel 2007
    Posts
    12

    Open Excel Template from Access Command

    I want to be able to open an Excel Template (.xltx) as a workbook (.xlsx) from an Access macro. I have another database that does this, but I couldn't copy the command. I'm running Access 2010, and I think that maybe the original command was done in version 2007.

    So my example is this:
    Submacro: LenderForm
    RunApplication: excel.exe /t "PathToFormGoesHere.xltx"

    My problem is that the option for "RunApplication" seems to be missing from my macros in Access 2010. Is there another solution to acheive the same goal?

    I'm not a VBA wiz, I aspire to reach novice level on a good day, so I'll request a little hand-holding upfront if that's the only solution. Thanks for your help!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Open Excel Template from Access Command

    Here is a vba solution with implementation instructions

    http://www.ozgrid.com/forum/showthread.php?t=17905
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    01-18-2010
    Location
    Bentley, NM
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Open Excel Template from Access Command

    Quote Originally Posted by acmagyar View Post
    My problem is that the option for "RunApplication" seems to be missing from my macros in Access 2010. Is there another solution to acheive the same goal?

    I'm not a VBA wiz, I aspire to reach novice level on a good day, so I'll request a little hand-holding upfront if that's the only solution. Thanks for your help!
    RunApplication still exists in Access 2010, but you must click "Show All Actions" on the ribbon in the create macro screen to see the command. Although most of the time VBA is preferred, and if I were you I would try to learn how to implement what the other person posted.

  4. #4
    Registered User
    Join Date
    01-24-2011
    Location
    Minneapolis MN
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Open Excel Template from Access Command

    @maw230 - Thank you for helping me find the simple solution! I feel ridiculous that I forgot about "Show All Actions."

    I also acknowledge that I need to seek VBA training, easier said than accomplished though! I was trying to implement alansidman's response when I saw the easier solution come through. Thanks so much for the prompt answers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Populate Excel Template from Access Tables
    By jadown in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-08-2014, 01:03 PM
  2. Excel Command button to open a Microsoft Access query
    By Bineyo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2012, 04:31 PM
  3. excel template connect to access database???
    By ddaudi8 in forum Excel General
    Replies: 1
    Last Post: 04-16-2009, 03:40 PM
  4. [SOLVED] Pull info from access to template in excel?????
    By jwr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-26-2005, 11:05 PM
  5. [SOLVED] Excel template and access questions
    By galgolfer63 in forum Excel General
    Replies: 1
    Last Post: 06-21-2005, 03:05 PM

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