Results 1 to 8 of 8

Thread: VBA Form Source List

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,970
    In the attached:
    -deleted some data from cells in column E of the Lists sheet - for demonstration.
    -Added a Name in Name Manager called StoreList with the formula:
    =FILTER(TC_List[TC Name],TC_List[TC Name]<>"")

    In the userform:
    -deleted the reference in the RowSource property of the cmbTC control
    -added a UserForm_Initialize() sub which adds a .list to cmbTC, that is StoreList. (I presume the store list doesn't change while you're using the user form.)

    You can do this differently:
    Use the filter formula above in a cell on the Lists sheet, say cell M1
    Add a Name in Name Manager with the formula:
    =M1#
    Use that name in the RowSource property of the cmbTC control.
    Attached Files Attached Files
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •