Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Populating a cell based on combobox data


I am trying to make this work but can't seem to figure it out.

I have a combobox populated from a worksheet that has two column
Jobcode and jobtitle

I want to be able to type a jobcode in column F5:F2000
I want the jobcode to be found in the combobox and then load th
Jobtitle in column G5:G2000

Each row will have a differant jobcode and some rows will have the sam
jobcodes as other rows.


I can achieve what I want using the following,

Me.ComboBox1.Text = Range("F5").Value
Range("G5") = ComboBox1.Column("1")

But how do I make it do the same thing without having to have 200
lines of code like above?

PLease help

Thanks
Charle

--
mrdat
-----------------------------------------------------------------------
mrdata's Profile: http://www.excelforum.com/member.php...fo&userid=1789
View this thread: http://www.excelforum.com/showthread.php?threadid=56264

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
Populating a cell based on a range of values akkrug New Users to Excel 2 June 20th 08 03:09 PM
Help with If-Then Statements/Populating Data based upon selection SK Excel Discussion (Misc queries) 1 April 13th 07 09:06 PM
Populating a combobox within a form with concatenated data [email protected] Excel Programming 2 February 8th 06 03:07 AM
populating one list/combobox based on the results of another Tim[_39_] Excel Programming 1 December 6th 04 04:53 PM
Combobox populating based on Option Button Todd Huttenstine[_2_] Excel Programming 7 November 9th 03 10:18 PM


All times are GMT +1. The time now is 12:00 AM.

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"