+ Reply to Thread
Results 1 to 2 of 2

run command button in Access from excel

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    NJ
    MS-Off Ver
    2010
    Posts
    2

    run command button in Access from excel

    Hi,

    I am currently trying to create a macro that will run a command button from excel. Currently having some trouble.

    Can someone please advise?

    The command button is in Form_frmMain
    the code in there is called Public Sub cmdrun_report_Click()

    this is what I currently have to try and open and call this button.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: run command button in Access from excel

    Instead or running the form.button
    run the macro that the button runs. docmd.runmacro "macro"

+ 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. Run Access command button macro from excel
    By jkw603 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2015, 11:00 AM
  2. Access ActiveX Command Button from different Workbook
    By be7it2a7mar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2015, 05:06 PM
  3. command button that will send information from excel spread sheet to access
    By superchew in forum Access Tables & Databases
    Replies: 5
    Last Post: 12-16-2013, 11:45 PM
  4. 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
  5. [SOLVED] Printing Access reports through Excel command button?
    By Ed in forum Excel General
    Replies: 0
    Last Post: 06-07-2006, 10:55 AM

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