#1   Report Post  
browie
 
Posts: n/a
Default LISTBOX PROPERTIES

Is it possible to have a listbox populate using the activesheet range
a1:b100



Thanks in advance


  #2   Report Post  
StinkeyPete
 
Posts: n/a
Default

Try this:

With Worksheets(1)
Set lb = .Shapes.AddFormControl(xlListBox, 100, 10, 100, 100)
lb.ControlFormat.ListFillRange = "A1:B100"
End With


"browie" wrote:

Is it possible to have a listbox populate using the activesheet range
a1:b100



Thanks in advance



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
Blank spaces in a listbox Soundman Excel Discussion (Misc queries) 3 August 17th 05 02:13 PM
Custom File Properties jujuwillis Excel Discussion (Misc queries) 1 August 1st 05 04:18 PM
Need help with Listbox Lizzie_S Excel Discussion (Misc queries) 3 July 22nd 05 03:42 AM
Help with Excel ActiveX listbox controls programmer123 Excel Discussion (Misc queries) 0 July 7th 05 10:30 PM
command button properties gbeard Excel Worksheet Functions 4 April 21st 05 06:02 AM


All times are GMT +1. The time now is 01:33 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"