Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Update txtbox from combobox

I have several combo boxes and the will all be filled in by scanning
barcodes, they get their contents for a range on a second sheet, and I need
to fill in a text box with the contents of the cell to the right of the
number in the combo box
A B
12334 Earl
32211 Tom

So the cbobox gets its data from A and I want the txtbox to have B

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Update txtbox from combobox

OK so I mostly found my answer, thanks to K Dales for his answer to another
question

txtOpBox.Value = Range("data!A2").Offset(cboName.ListIndex, 1)

So now all I need to do is have it put the data from the text box in to the
form.


"Llamadon" wrote:

I have several combo boxes and the will all be filled in by scanning
barcodes, they get their contents for a range on a second sheet, and I need
to fill in a text box with the contents of the cell to the right of the
number in the combo box
A B
12334 Earl
32211 Tom

So the cbobox gets its data from A and I want the txtbox to have B

Thanks

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
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 2 November 14th 04 11:59 PM
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 1 November 13th 04 03:19 PM
VBA: Update worksheet when txtBox data changes. Mcasteel[_21_] Excel Programming 0 November 1st 04 07:35 PM
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 1 November 1st 04 06:18 PM
VBA: Update worksheet when txtBox data changes. Mcasteel[_20_] Excel Programming 0 November 1st 04 05:23 PM


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