LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Combo box properties in VBA

I've created a Combo box from the Control toolbox. In ListFillRange I have
entered a range name rather than specify the cell references. So far so good.
Everything works.
However if I convert that named range to a dynamic range i.e one that
expands as new rows are added to it (using OFFSET and COUNT) the list of
choices that appear in the drop down list become slightly incorrect with one
of the items appearing twice even though it appears only once in the
specified range.
As an alternative I've tried programmatically deleting the range and
recreating it as an expanded range. Unfortunately, in order for this to work
I have to manually open the Combo box and re-insert the range name in the
LIstFillRange even though it is the same name as before. Is there a way of
using code to emulate the process of opening the combo box and re-entering a
name in the ListFillRange field.
Thank you
 
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
Can't find the properties in a Combo Box tbmarlie Excel Discussion (Misc queries) 2 August 27th 07 07:34 PM
Combo Box Properties Squeaky Excel Discussion (Misc queries) 0 December 20th 06 03:44 PM
Combo Box Properties Dan[_49_] Excel Programming 1 November 2nd 06 03:14 AM
Properties of Combo Box in Userform Chris Gorham Excel Programming 3 June 6th 06 09:47 PM
Combo Box Properties Aex de Silva Excel Worksheet Functions 1 December 28th 05 10:38 PM


All times are GMT +1. The time now is 01:27 AM.

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

About Us

"It's about Microsoft Excel"