Results 1 to 10 of 10

Thread: List box in cell?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,776
    Hello, welcome to the world of Forms controls. It frustrates me that the ActiveX controls are not avaliable on my Mac.
    This is a way to make a list box.
    Dim LBox As ListBox
    Set LBox = Sheets(1).ListBoxes.Add(100, 100, 100, 100)
    LBox.ListFillRange = "$H$1:$H$12"
    But LBox is in Sheets(1).Shapes, not .OLEObects
    I think you will find this syntax useful
    Sheets(1).Shapes(1).ControlFormat.AddItem "ssssss"
    The Object Browser is your friend.
    Last edited by mikerickson; 06-05-2007 at 06:37 PM.

Posting Permissions

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