+ Reply to Thread
Results 1 to 4 of 4

Listbox created with VBA - properties not available

  1. #1
    Registered User
    Join Date
    11-15-2010
    Location
    Leicester
    MS-Off Ver
    Office 2010 / 2013
    Posts
    41

    Listbox created with VBA - properties not available

    Hi

    Strange problem with this.

    If I create a listbox from the control toolbox via vba, The options for 'View Code' and 'Properties' are missing when I right click.

    I have tested this with 2010 and 2002 versions. With 2010 it is fine. The problem is only 2002 version. Trouble is i need to use 2002 version for work.

    Here is the code.

    Please Login or Register  to view this content.
    If I create the listbox manually it is fine...

    Any ideas.

    Thanks

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: Listbox created with VBA - properties not available

    Do you really need the context menu items?

    Can you not use ALT+F11 to go to vbe and open the worksheet object.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    11-15-2010
    Location
    Leicester
    MS-Off Ver
    Office 2010 / 2013
    Posts
    41

    Thumbs up Re: Listbox created with VBA - properties not available

    Quote Originally Posted by Andy Pope View Post
    Do you really need the context menu items?

    Can you not use ALT+F11 to go to vbe and open the worksheet object.
    Hi Andy

    From your reply, I presume I don't but I was just concerned that it was not working as expected.

    I didn't notice at first the when you go to the worksheet object it will appear in the dropdown box so I can still add code the same as before.

    Question answered, even if only reassurance that I'm not doing something wrong.

    Thanks

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Listbox created with VBA - properties not available

    Besides:

    Please Login or Register  to view this content.



+ 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