+ Reply to Thread
Results 1 to 2 of 2

Form commandbutton to replicate user clicking

  1. #1
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Form commandbutton to replicate user clicking

    Please Login or Register  to view this content.
    Is the highlighted line of code correct to replicate the user clicking on a form commandbutton ?
    It does not seem to work as is.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Form commandbutton to replicate user clicking

    Depending on what you are trying to achieve, it's probably best to use your UserForm's Initialize procedure instead of trying to click one of its buttons from outside the Userform's code module.

    Maybe something like this...

    Please Login or Register  to view this content.

+ 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