Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
aoeui
 
Posts: n/a
Default Excel combobox problem


I'm using a combobox populated from rTest (a 4 column, 60 row named
range) and linking it to a cell named Test. My problem is that it only
displays the first 41 rows of that range in the dropdown.

The following are the properties that I've changed for the combobox:

LinkedCell = Test
ListFillRange = rTest
ListRows = 20
SelectionMargin = false
BorderStyle = fmBorderStyleSingle


This is excel 2003.


--
aoeui
------------------------------------------------------------------------
aoeui's Profile: http://www.excelforum.com/member.php...o&userid=26603
View this thread: http://www.excelforum.com/showthread...hreadid=398764

  #2   Report Post  
aoeui
 
Posts: n/a
Default


revised problem:

A combobox apparently does not update itself when changes are made to
its named range. Adding several entries or moving the range results in
the combobox having the wrong values until you close and reopen the
workbook.

My question is, how can I force a refresh of a combobox every time its
source range is changed? VBA is acceptable.


--
aoeui
------------------------------------------------------------------------
aoeui's Profile: http://www.excelforum.com/member.php...o&userid=26603
View this thread: http://www.excelforum.com/showthread...hreadid=398764

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Maybe...

Option Explicit
Private Sub ComboBox1_GotFocus()
Me.ComboBox1.ListFillRange _
= Worksheets("sheet1").Range("a1:a10").Address(exter nal:=True)
End Sub

Although, in my minor testing, if I changed something in the listfillrange, it
showed up in the combobox.


aoeui wrote:

revised problem:

A combobox apparently does not update itself when changes are made to
its named range. Adding several entries or moving the range results in
the combobox having the wrong values until you close and reopen the
workbook.

My question is, how can I force a refresh of a combobox every time its
source range is changed? VBA is acceptable.

--
aoeui
------------------------------------------------------------------------
aoeui's Profile: http://www.excelforum.com/member.php...o&userid=26603
View this thread: http://www.excelforum.com/showthread...hreadid=398764


--

Dave Peterson
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
Problem with Excel 2003 restricting functionality matthewDBS Excel Discussion (Misc queries) 1 August 12th 05 07:44 PM
creating a combobox dynamically on an excel sheet gupt New Users to Excel 8 June 7th 05 04:07 AM
EXCEL FORMAT PROBLEM WHEN SENDING EXCEL SHEET AS MESSAGE BODY IN . P.S.Sodha Excel Discussion (Misc queries) 0 April 2nd 05 01:53 PM
Excel problem with web based spreadsheets Steve Williams Excel Discussion (Misc queries) 0 January 12th 05 02:11 PM
Staring Excel Problem Everton Excel Discussion (Misc queries) 1 November 26th 04 09:22 PM


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