1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: VBA Userform listbox rowsource macro execution

Discussion in 'Business Applications' started by DocsGuy, Dec 28, 2010.

Thread Status:
Not open for further replies.
  1. DocsGuy

    DocsGuy Thread Starter

    Joined:
    Oct 28, 2010
    Messages:
    6
    Excell 2007, VBA Userform w/Listbox populated w/sheet range rowsource option. Quite simply I would like to execute specific macro's based on the selection in the listbox by the user. I have the userform with the listbox and a command button in place I just need them to select the option and press the command button and it runs a macro assigned to the selection. Even if I could get it to put a number in a cell based on the selection, I could use an If statment to run the specified macro. Can anyone help?
     
  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    The list box "Linked Cell" Property will put the selection in a Cell for you. Does that help at all?
     
  3. DocsGuy

    DocsGuy Thread Starter

    Joined:
    Oct 28, 2010
    Messages:
    6
    I've been humbled, Thanks OPB
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/971149

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice