Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Combobox issue!


I have a problem, have search for a soulution but not find any, so why
this Q!

I have a ComboBox filled with items like
101201
210123
334455
335678
420045
446789

What I will have is following.
When I type in the ComboBox I will that the nearest item is
selected/markt (autocomplet) like when I type 33 in the ComboBox
the value 334455 is selected/markt.
The 4455 is filled in automatic
If I add a 5 after the 33 (335) that should generate that the 678 fills
in automatic.

Is this possible to get?
(Excel 2003 + VBA)

EW


--
EagleWolf
------------------------------------------------------------------------
EagleWolf's Profile: http://www.excelforum.com/member.php...o&userid=28756
View this thread: http://www.excelforum.com/showthread...hreadid=484445

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combobox issue!

Look at the matchentry property of your combobox. See help for details.

--
Regards,
Tom Ogilvy


"EagleWolf" wrote
in message ...

I have a problem, have search for a soulution but not find any, so why
this Q!

I have a ComboBox filled with items like
101201
210123
334455
335678
420045
446789

What I will have is following.
When I type in the ComboBox I will that the nearest item is
selected/markt (autocomplet) like when I type 33 in the ComboBox
the value 334455 is selected/markt.
The 4455 is filled in automatic
If I add a 5 after the 33 (335) that should generate that the 678 fills
in automatic.

Is this possible to get?
(Excel 2003 + VBA)

EW


--
EagleWolf
------------------------------------------------------------------------
EagleWolf's Profile:

http://www.excelforum.com/member.php...o&userid=28756
View this thread: http://www.excelforum.com/showthread...hreadid=484445



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Combobox issue!


OK.
I made a test and get it to work when I used AddItem ore ListFillRange
But when I assigne data to the ComboBox like

vaData = .Range(.Range("A2"), .Range("A65536").End(xlUp)).Value
..List = vaData

It not work with autofill!

Is it wrong way to do it?

I made some outher soulution of this.
(Data on one sheet and Combobox on other)
Make a Name and give it the range
rnRange = .Range(.Range("A2"), .Range("A65536").End(xlUp))
rnRange.Name = "MyRange"

And in the property for the Combobox (ListFillRange) write the range
name "MyRange"

The the autofill works

EW


--
EagleWolf
------------------------------------------------------------------------
EagleWolf's Profile: http://www.excelforum.com/member.php...o&userid=28756
View this thread: http://www.excelforum.com/showthread...hreadid=484445

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
Combobox Issue Andy Excel Programming 2 July 27th 05 04:27 PM
ComboBox Issue: Write to WorkSheet Paul Martin Excel Programming 2 May 17th 05 05:53 AM
Another ComboBox Issue Darrin Henry[_2_] Excel Programming 2 April 16th 05 03:03 PM
Another ComboBox Issue Darrin Henry[_2_] Excel Programming 1 April 16th 05 09:18 AM
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox Minitman[_4_] Excel Programming 3 October 26th 04 07:58 PM


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