+ Reply to Thread
Results 1 to 2 of 2

Fill add-in userform and execute macro

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Fill add-in userform and execute macro

    Hi all,

    probably a very easy one: I've got an userform in an add-in. I'd like to fill in some variables (textboxes, checkboxes etc) and then simulate the pressing of a commandbutton on that addin-userform from another workbook.

    I thought it'd be easy like:
    Please Login or Register  to view this content.
    But it doesnt seem to work. Anyone got a clue on this? I could write another code within the addin which would take all the variables from the other workbook and pass them along to the userform but I'd like to do it directly.

    Thanks
    If you think that my answer was helpful, please click on the "Add to this user's Reputation" button.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Fill add-in userform and execute macro

    I would do it like you suggest, put a module in the add-in with the code you need and call the module.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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