+ Reply to Thread
Results 1 to 2 of 2

How to reference the contents of a list in a floating toolbar?

  1. #1
    Alvin Wilson
    Guest

    How to reference the contents of a list in a floating toolbar?

    I've created a floating toolbar with a dropdown list on it. When the user
    clicks a selection on the dropdown list, a procedure is called. Within that
    procedure, I can see the value of ListIndex for the list, but I can't figure
    out how to reference the value or text or contents at the location pointed to
    by ListIndex. I know how to do this in Access, but Excel seems to require a
    different approach.

    How do I reference the contents of a list in a floating toolbar, given that
    I know the ListIndex of the selection?

    TIA!

  2. #2
    Tom Ogilvy
    Guest

    Re: How to reference the contents of a list in a floating toolbar?

    with Commandbars("custom1").controls("Drop1")
    s = .List(.ListIndex)
    End With
    msgbox s
    --
    Regards,
    Tom Ogilvy


    "Alvin Wilson" <alvinwilson@(NoSpam)peacemail.com> wrote in message
    news:3EAB5A24-48C5-4355-9BFD-E0F6186CB4F7@microsoft.com...
    > I've created a floating toolbar with a dropdown list on it. When the user
    > clicks a selection on the dropdown list, a procedure is called. Within

    that
    > procedure, I can see the value of ListIndex for the list, but I can't

    figure
    > out how to reference the value or text or contents at the location pointed

    to
    > by ListIndex. I know how to do this in Access, but Excel seems to require

    a
    > different approach.
    >
    > How do I reference the contents of a list in a floating toolbar, given

    that
    > I know the ListIndex of the selection?
    >
    > TIA!




+ 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