Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup from multiple columns....pls help...urgent...thanx


Hi,

I have wriiten the following code.

Private Sub btnPastCommentsActivityList1_Click()
ActiveWorkbook.Sheets("Activity_Database").Activat e
Range("C6").Select
txtOldComments.Value
Application.VLookup(cmbInitiativeDescription.Value , Range("C6:Z9999")
18, False)
End Sub

What the above does is that it looks up at the column C6 of the shee
for the value and assigns it to "txtOldComments".

However, how do I go about writing the code if i want to match bot
the cmbInitiativeDescription.Value and a date value that is in anothe
column (C12). However, the date is seperated into three field
(day,mth,year).

I hope someone can help me thanx

--
sandPosted from http://www.pcreview.co.uk/ newsgroup acces

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
Lookup between multiple columns Mickey Excel Worksheet Functions 3 August 20th 08 10:06 PM
Lookup in multiple columns sapai Excel Worksheet Functions 7 August 13th 08 07:55 PM
Lookup across multiple columns within multiple sheets Garnet Excel Discussion (Misc queries) 2 June 25th 08 11:46 PM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
lookup across multiple columns NHP Excel Worksheet Functions 4 March 31st 06 10:31 PM


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