+ Reply to Thread
Results 1 to 5 of 5

Passing Procuedure to Userform

Hybrid View

  1. #1
    Tushar Mehta
    Guest

    Re: Passing Procuedure to Userform

    In article <[email protected]>, nigel-
    [email protected] says...
    > I have a userform that is called from a worksheet event. On initialising I
    > wish to run a procedure held in a standard module, the procedure changes
    > depending on the value of the worksheet event.
    >
    > How do I pass the name of the procedure to the userform initialise event ?
    >
    >

    Check out the Application object's Run method. It accepts the name of
    the procedure to call as a string argument.

    --
    Regards,

    Tushar Mehta
    www.tushar-mehta.com
    Excel, PowerPoint, and VBA add-ins, tutorials
    Custom MS Office productivity solutions

  2. #2
    Nigel
    Guest

    Re: Passing Procuedure to Userform

    Thanks everyone that has given me some ideas.

    --
    Cheers
    Nigel



    "Tushar Mehta" <[email protected]> wrote in message
    news:[email protected]...
    > In article <[email protected]>, nigel-
    > [email protected] says...
    > > I have a userform that is called from a worksheet event. On

    initialising I
    > > wish to run a procedure held in a standard module, the procedure changes
    > > depending on the value of the worksheet event.
    > >
    > > How do I pass the name of the procedure to the userform initialise event

    ?
    > >
    > >

    > Check out the Application object's Run method. It accepts the name of
    > the procedure to call as a string argument.
    >
    > --
    > Regards,
    >
    > Tushar Mehta
    > www.tushar-mehta.com
    > Excel, PowerPoint, and VBA add-ins, tutorials
    > Custom MS Office productivity solutions




+ 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