+ Reply to Thread
Results 1 to 5 of 5

Assign user form label to cell value

  1. #1
    Registered User
    Join Date
    01-03-2020
    Location
    Staffordshire, England
    MS-Off Ver
    excel for office 365 mso (16.0.12624.20348) 32-bit
    Posts
    35

    Assign user form label to cell value

    Hi - I want to assign a user form label caption to a cell value, have tried form_initialize and setting the caption to the cell value but nothing gets populated when i launch the user form. File attached, any help appreciated
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Assign user form label to cell value

    Don't use the name of the userform in the initalize event, it should be
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Assign user form label to cell value

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Registered User
    Join Date
    01-03-2020
    Location
    Staffordshire, England
    MS-Off Ver
    excel for office 365 mso (16.0.12624.20348) 32-bit
    Posts
    35

    Re: Assign user form label to cell value

    Ah thank you both. It works! Happy Easter! Cheers

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Assign user form label to cell value

    You're welcome & thanks for the feedback

+ 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. Automatically get sum value of cells selected by user for User Form's Label ?
    By karmapala in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2019, 04:09 AM
  2. How to assign VBA code to user form controls
    By pedropumpalot in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2015, 08:18 PM
  3. How do I use scroll bar to view very LONG label in User Form?
    By sauerj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-17-2012, 12:52 AM
  4. VBA User Form Label won't show
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2011, 09:57 AM
  5. User Form Label not filling correctly
    By duckboy1981 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-10-2008, 05:34 AM
  6. In need to format a label in an user form
    By jobro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2008, 08:07 AM
  7. How to: User Form to assign a user defined range to a macro variab
    By TrevTrav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2005, 04:06 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