Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Duplicate items in ComboBox

I am creating a userform with combo boxes. These boxes contain approximately
3 choices from which the user can select. When the information on the
userform is transferred to an excell spreadsheet and the userform is
re-initialized for another set of data to be entered, the selections in the
combobox are now duplicated, triplicated, etc. What do I need to do in my
code to prevent this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Duplicate items in ComboBox

Maybe using a line like:

me.combobox1.clear

before adding more items to the list would work.

Coco wrote:

I am creating a userform with combo boxes. These boxes contain approximately
3 choices from which the user can select. When the information on the
userform is transferred to an excell spreadsheet and the userform is
re-initialized for another set of data to be entered, the selections in the
combobox are now duplicated, triplicated, etc. What do I need to do in my
code to prevent this?


--

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
Combobox items determined by the selection in another combobox Alerion Excel Programming 2 September 13th 06 01:07 PM
how to add items to combobox Marek Excel Programming 3 August 30th 04 10:31 AM
Duplicate Items Andy Daugherty Excel Programming 1 March 2nd 04 11:22 PM
ComboBox Items Todd Huttenstine[_2_] Excel Programming 1 December 14th 03 11:12 PM
ComboBox items Keith Willshaw Excel Programming 2 July 17th 03 11:22 AM


All times are GMT +1. The time now is 04:06 PM.

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"