Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
floating toolbar Gixxer_J_97[_2_] Excel Programming 2 September 23rd 05 01:09 PM
Floating Toolbar Dave Excel Discussion (Misc queries) 4 April 29th 05 04:57 PM
PDF 4.0 Floating Toolbar Darrell Excel Discussion (Misc queries) 1 February 10th 05 06:14 PM
floating toolbar scottwilsonx[_67_] Excel Programming 2 October 29th 04 01:24 PM
Floating Toolbar Roger Bedford[_2_] Excel Programming 2 July 6th 04 06:03 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"