+ Reply to Thread
Results 1 to 12 of 12

showing Labels and Textbox values

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Post showing Labels and Textbox values

    Hi all,
    adding lables and textboxes in userform automatically by using For loop. I get the vba code by googling it.
    Now, my question is I want to show the label caption and textbox values of userform into excel
    Last edited by zaku; 02-04-2015 at 02:47 PM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: showing Labels and Textbox values

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    Hi,
    attached a sample workbook.
    Attached Files Attached Files

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: showing Labels and Textbox values

    Why not use a listbox, 5-6 textboxes for the user to enter data and a command button to add the data to the listbox?
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    attached the workbook
    Attached Files Attached Files

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: showing Labels and Textbox values

    Have a look at UserForm1 in the attached to see the sort of thing I'm suggesting.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    Thanks for the reply,
    It helps, but i need labels and text boxes should add dynamically and those values should save is excel.

  8. #8
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    Thanks for the reply,
    It helps, but i need labels and text boxes should add dynamically and those values should save is excel.

  9. #9
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: showing Labels and Textbox values

    Why do you need all those labels and textboxes when you can have the user enter the data in one set of textboxes, then it can be saved to the listbox and easily transferred to a worksheet?

  10. #10
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    Because user will update multiple data at one time. I don't knw how many days he will select.

  11. #11
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: showing Labels and Textbox values

    With a listbox the user can update as much or as little data as they want, they can also easily delete/edit data.

  12. #12
    Registered User
    Join Date
    02-04-2015
    Location
    hyderabad
    MS-Off Ver
    2013
    Posts
    7

    Re: showing Labels and Textbox values

    Hi norie,

    Can u plz help me on how to edit listbox values and save, how to store listbox values into excel

+ 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. [SOLVED] Excel-13 Add values in array matching specific row labels, column labels within date range
    By fadeoutagain27 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-18-2014, 03:55 PM
  2. Horizontal Axis Labels not showing
    By javeds in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-07-2014, 09:59 PM
  3. Replies: 2
    Last Post: 06-19-2011, 11:48 AM
  4. Excel 2007 : showing x and y labels
    By latokosero in forum Excel General
    Replies: 7
    Last Post: 03-16-2010, 04:45 AM
  5. [SOLVED] Column Labels (A, B) are showing us as numbers (1,2). Please Help
    By Diane in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2006, 09:10 AM

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