Results 1 to 7 of 7

VBA Listbox add item function

Threaded View

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    Poland
    MS-Off Ver
    10
    Posts
    75

    VBA Listbox add item function

    Hey,

    I'm perplexed... Why doesn't the code work? Error message: object required

    Sub Button13_Click()
    
    ListBox21.AddItem Range("E167").Value
    
    End Sub
    Last edited by moomphas; 05-30-2018 at 06:10 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] ListBox Array creates blank ListBox item
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-16-2019, 12:33 PM
  2. Select Listbox Item by ComboBox Item
    By atadaliran in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2017, 04:04 PM
  3. vba excel - last listbox item transfer erasing all listbox items except last item
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2017, 03:48 PM
  4. [SOLVED] VBA To populate listbox with duplicate item by increasing the item quantity
    By Sintek in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-01-2016, 07:51 AM
  5. [SOLVED] if anything in listbox select first item, if listbox empty do nothing (listbox in userform
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2015, 12:49 PM
  6. [SOLVED] Copy one listbox item to same index position in another listbox
    By Foreverlearning in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2012, 06:05 AM
  7. Populate ListBox Based On Item Chosen In Another ListBox
    By davemojo82 in forum Excel General
    Replies: 1
    Last Post: 08-04-2009, 08:39 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