Consulting

Results 1 to 5 of 5

Thread: UserForm

  1. #1

    UserForm

    Hello,

    I have a form Im working on, users fill out the form > submit it, then the data gets displayed on the tab at the bottom called "PartsData"

    Problem is, when you open my script, and click the first button to the left that says, "Click here to Add Inventory" - the form wont come up...It was working, I didn't really alter the code any, so Im not sure why it stopped working...

    Anyway - was hoping someone might be able to help out!

    Thanks! (see attached example)

    Im getting an error here
    frmParts.Show

    But there is nothing wrong with that line...

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Open your workbook and comment the initialize procedure for your userform......

    try it again. When it works that tells you that something is wrong with the code in that procedure.......still looking at it.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    cbolocation can't populate because there is no data in column E of sheet lookuplists. I just added data to that column and it worked.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    VBAX Regular
    Joined
    Nov 2008
    Posts
    34
    Location
    This is where the problem is.....found it moving through your code one line at a time (Shift-F8).

    [VBA]
    For Each cLoc In ws.Range("LocationList")
    [/VBA]

    I am wondering if data exists in "LocationList"?

  5. #5
    VBAX Regular
    Joined
    Nov 2008
    Posts
    34
    Location
    Whoops...I see somebody beat me to the punch, lol!

Posting Permissions

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