Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Two criteria in using Combox Boxes

How can pick value in ComboBox1-Connected sheet2!A1:A3 and
pick value in ComboBox2 Connected sheet2!B1:B8 and
match the value of ComboBox1 in Column C
match the value of combobox2 in Column D
and give me in ComboBox3 the dates in E:H

using this horizontal line but not knowing the exact source.

dim myCell as range
dim myRng as range

set myrng = worksheets("sheet2").range("e2:h2")

With me.combobox3
for each mycell in myrng.cells
..additem mycell.value
next mycell
end with


--
ca1358
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
Display data in a combox box Oggy Excel Discussion (Misc queries) 1 January 2nd 07 09:30 PM
Combox Locking D.Parker Excel Discussion (Misc queries) 2 April 27th 05 11:03 PM
clear combox Jahunga[_2_] Excel Programming 0 November 17th 04 02:51 PM
Combox box question David Goodall Excel Programming 2 April 22nd 04 08:16 AM
continued combox frustration scrabtree[_2_] Excel Programming 1 October 23rd 03 08:28 AM


All times are GMT +1. The time now is 08:56 AM.

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"