+ Reply to Thread
Results 1 to 4 of 4

Run activex command button via macro

  1. #1
    Registered User
    Join Date
    09-01-2012
    Location
    necessary rq
    MS-Off Ver
    Excel 2003
    Posts
    16

    Run activex command button via macro

    Sir, i am attaching a file excel tally in which in sheet s-c-voucher one generate button is there.
    i want to run the code behind it via macro to be recorded in different workbook.
    kindly help me.

    Thanks,
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Run activex command button via macro

    Something like......

    I haven't tested this

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Run activex command button via macro

    probably best to call a sub from the button, and then call this sub from the Run("") more descript and unique than CommandButton1_Click()

  4. #4
    Registered User
    Join Date
    09-01-2012
    Location
    necessary rq
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Run activex command button via macro

    Sir,
    I am new to macro and vb so please elaborate this.

    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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