Textbox Control Source not pulling value

ChrisCione

Board Regular
Joined
Aug 27, 2008
Messages
92
Office Version
  1. 365
Platform
  1. Windows
The control source for a textbox on my form is =[cboAcronyms].[column](2)


It stopped working; i.e., it's not pulling values from the 3rd column of the table that's the row source of [cboAcronyms].

It's worked in the past, and the only modification to the table was that I added a new row of data several days ago. I don't know if that's related, because I just noticed today that it's not populating the textbox. Any thoughts about this?



FYI: I changed the column to (1) and it worked; and I changed it to (0) and it works. But it won't pull the value from the 3rd (2) column.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
It gives the value of the 3rd column of the combo box, not the table - check the column count property is at least 3 (the width's for the columns can be 0 if you don't want them to be displayed.)

If that is ok, confirm that the row source property is the table and not a query returning less than 3 columns and finally check the underlying data has value in those columns. - I would do this by changing the column width of the combo rather than looking at the source table, that way you can see as you select what you expect to be returned.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top