+ Reply to Thread
Results 1 to 2 of 2

UserForm-Listbox-Issues, Data To & From Excel Cells Not Working; Null Values

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    105

    UserForm-Listbox-Issues, Data To & From Excel Cells Not Working; Null Values

    First View Picture

    Attachment 258278

    Explanation-

    The user form loads with the following code to set userform.values

    Pz as long (Public)

    Please Login or Register  to view this content.
    Now... C1 is the class or 5 rows down from PartyMember1. This always loads as NULL. This is shown in the picture on the Top Right with the Red line going from the ListBox named Class Name.

    Then I click on Save Actor Info... This is suppose to take the ListBox values and place them in the Cells (shown in the Picture Bottom Right). The ListBoxes have "Main Actor", "Dull Hand Axe", "Shield2", "Head3", "Casual Clothes", and "Accessory4" all shown as the value. This is the code that is executed when pressing Save Actor... (MC10 is Public)

    Please Login or Register  to view this content.
    The picture shows what happens. Why does Main Actor, Helm, and Accessory all get set to blank? UserForms are frustrating.

    Any advice on how to set listbox values when opening a form would greatly help. Its like the value highlighted is not the value stored for some reason.
    Last edited by Kalithro; 08-16-2013 at 01:04 AM. Reason: Title

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: More UserForm Issues

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. userform.show issues
    By ag273n in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-30-2013, 11:47 PM
  2. USERFORM - Issues Log Template
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2013, 09:50 AM
  3. Date and Calendar issues in Userform
    By passman86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 07:18 AM
  4. Userform filter issues
    By kryt0n in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-22-2010, 10:06 AM
  5. Issues with setting focus on Userform
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2009, 03:17 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