+ Reply to Thread
Results 1 to 4 of 4

Can add listbox control to userform, but cannot delete!

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Can add listbox control to userform, but cannot delete!

    I am very confused about this. I am building a new userform and I need to add/modify listboxes. Once I add one then the weirdest thing happens... I can't delete it.

    It gives me this error when I try to delete it: "Could not delete the controls. Unspecified error."

    Then it won't let me save the file and when I try to close the excel file it gives me another error: "System Error &H80004005 (-2147467259). Unspecified error"

    This only happens for ListBoxes, not the other controls... Why is this happening?! The file is attached, please help.
    Attached Files Attached Files

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

    Re: Can add listbox control to userform, but cannot delete!

    Where are the listboxes located?

    I can't seem to find any.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Can add listbox control to userform, but cannot delete!

    There aren't any on there. On my computer I can add them, but then I can't delete them.

  4. #4
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Can add listbox control to userform, but cannot delete!

    I just downloaded the file that I posted and it seems to be working fine. I'm thinking it might have something to do with the file location or something... I'll just mark this as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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