PC Review


Reply
Thread Tools Rate Thread

ComboBox Update Question

 
 
Mullie21
Guest
Posts: n/a
 
      20th Feb 2009
I'm using a ComboBox that is populated with a list of values (say 0,1,2,3).
If I want to update the '0' to an 'A', how do I do this? How do I update one
value within the combobox LOV?

Any help is much appreciated.
 
Reply With Quote
 
 
 
 
meh2030@gmail.com
Guest
Posts: n/a
 
      20th Feb 2009
On Feb 20, 11:33*am, Mullie21 <Mulli...@discussions.microsoft.com>
wrote:
> I'm using a ComboBox that is populated with a list of values (say 0,1,2,3). *
> If I want to update the '0' to an 'A', how do I do this? *How do I update one
> value within the combobox LOV?
>
> Any help is much appreciated.


If the combo box is on a UserForm, then you'll need to see the code
that is in Private Sub UserForm_Initialize() for the respective
UserForm. For example you might have the following:

Private Sub UserForm_Initialize()
cmbBox.AddItem 0
cmbBox.AddItem 1
End Sub

You can alter this code by changing the 0 to "A" and so on. If you
have a combo box on a spreadsheet, find the range that the combo box
is referencing and change those range inputs.

Matt
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox: Update a value in current record before changing the ComboBox Value disneygoof via AccessMonster.com Microsoft Access Form Coding 2 17th Mar 2008 02:43 PM
Simple question about bound combobox at update sandal Microsoft Dot NET Framework Forms 2 9th Nov 2007 12:59 AM
update combobox by other combobox spam@roys.nl Microsoft Access Forms 2 11th Jan 2007 08:01 PM
Update ComboBox based off of another combobox NeoFax99@gmail.com Microsoft Access 10 9th Dec 2006 10:54 AM
combobox don't update value Jose Microsoft VB .NET 2 25th May 2006 01:36 PM


Features
 

Advertising
 

Newsgroups
 


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