Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Moh Moh is offline
external usenet poster
 
Posts: 58
Default listbox help

morning all programmers,

i have a small problem, i got 2 worksheets in excel.
in worksheet 1 i have a listbox and a textbox
the information is all in sheet 2
the information is in columns A and B
In the listbox i have a list of all the information from cell a1 to a50
now when they select anything from the list, i need the data from column B
to appear in either the textbox or if easier (cell h2 in sheet1)

this is how the data should be linked in return as follows:

a1 will be linked to b1
a2 will be linked to b2
a3 will be linked to b3
a4 will be linked to b4
..... etc til a50

can someone help please?

Many Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
Moh Moh is offline
external usenet poster
 
Posts: 58
Default listbox help

sorry its not a listbox, its actually a dropdown combo. so sorry
--
please can you help... its urgent


"Moh" wrote:

morning all programmers,

i have a small problem, i got 2 worksheets in excel.
in worksheet 1 i have a listbox and a textbox
the information is all in sheet 2
the information is in columns A and B
In the listbox i have a list of all the information from cell a1 to a50
now when they select anything from the list, i need the data from column B
to appear in either the textbox or if easier (cell h2 in sheet1)

this is how the data should be linked in return as follows:

a1 will be linked to b1
a2 will be linked to b2
a3 will be linked to b3
a4 will be linked to b4
.... etc til a50

can someone help please?

Many Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default listbox help

Just link cell H2 to the listbox and also the textbox to the same cell.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Moh" wrote in message
...
morning all programmers,

i have a small problem, i got 2 worksheets in excel.
in worksheet 1 i have a listbox and a textbox
the information is all in sheet 2
the information is in columns A and B
In the listbox i have a list of all the information from cell a1 to a50
now when they select anything from the list, i need the data from column B
to appear in either the textbox or if easier (cell h2 in sheet1)

this is how the data should be linked in return as follows:

a1 will be linked to b1
a2 will be linked to b2
a3 will be linked to b3
a4 will be linked to b4
.... etc til a50

can someone help please?

Many 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
userform listbox cannot get listbox.value to transfer back to main sub [email protected] Excel Programming 1 May 17th 06 09:44 PM
avoiding duplicates in listbox (added from another listbox) KR Excel Programming 4 March 14th 06 08:17 PM
VBA: Creating listbox similar to the one in Pivot table (Listbox+Checkbox) modjoe23 Excel Programming 3 August 18th 05 02:35 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Is refreshing listbox rowsource in listbox click event possible? Jeremy Gollehon[_2_] Excel Programming 4 September 25th 03 06:45 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"