+ Reply to Thread
Results 1 to 4 of 4

UserForm not populating from workbook

  1. #1
    Registered User
    Join Date
    06-11-2019
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    2

    UserForm not populating from workbook

    Hi I'm new to vba. I have designed a Userform with text boxes, combo boxes and option buttons on a multipage Userform. It is running perfectly when I am in the visual basic editor using the Run Sub/UserForm. It populates the desired worksheet with all the correct data. However when I run it from a macro on the worksheet (Simple a macro to open Userform), it opens the userform properly, I am able to enter all the data as usual but it fails to populate the data into the worksheet, but performs all other commands such as clearing the worksheet. Any ideas?

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: UserForm not populating from workbook

    We will need to see your userform code to answer this properly.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    06-11-2019
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    2

    Re: UserForm not populating from workbook

    I have resolved the issue. Thank you.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: UserForm not populating from workbook

    Good for you.

    Please mark the thread as SOLVED by selecting Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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 not populating
    By SilverMonkey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-20-2019, 06:44 AM
  2. [SOLVED] Populating userform textboxes basis of results from 2 userform comboboxes
    By rlh in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-11-2017, 10:26 AM
  3. [SOLVED] Populating a userform from a search button and editing the workbook
    By jonesdwj in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-16-2013, 01:55 AM
  4. [SOLVED] userform populating to userform from 2 sheets
    By Shacker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-04-2013, 12:50 AM
  5. [SOLVED] Problem populating a textbox from another closed workbook in a userform
    By tilous in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2013, 11:13 PM
  6. Help Populating Textboxes in Userform, With Multipage Userform.
    By mdmorgan24 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 05:29 PM
  7. Populating a UserForm
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2011, 11:45 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