+ Reply to Thread
Results 1 to 3 of 3

Label Click Event

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Label Click Event

    Can someone help with filling a textbox from a cell using a label click event. I have attached an example.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Label Click Event

    hi, change your code for the click event like this

    Please Login or Register  to view this content.
    Of course there also other ways to do the same, e.g. use UserForm2 Initialize event...
    I assume you have a reason to use label, instead of command button...
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Registered User
    Join Date
    10-14-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Label Click Event

    Thanks, i need to use labels as i have a userform that has labels and they are filled in with text to guide the user and depending on the choice of label it will populate the text from a cell into the textbox

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How change label value for each click button ??
    By WILKER in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-02-2012, 12:25 PM
  2. Click on the label for the updating of a scatterplot
    By Antonino in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-06-2012, 03:53 AM
  3. Prevent ListBox Click Event Until Mouse Click
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2011, 12:23 PM
  4. Click event of dynamically created label
    By ajaykgarg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2010, 10:09 AM
  5. [SOLVED] userform label double-click goes to click event
    By John Paul Fullerton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2006, 01:00 PM

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