Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Comparing a cell value to a range value and display a matched value

I have created a worksheet that have the following

A B
user1 user
user
user

cell A1 is actually display with the help of a Function username(). Column B (B1:B3) is being defined as "mylist"

What I intend to achieve using VBA is

When user1 login, cell C1 should shown "user1". However, if user2 or user3 login, cell C1 should become a drop down list showing the name of user1,user2,user3 in the list. I have used MATCH() to compare A1 to B1:B2 but doesn't seem to get the comparison work

Can someone help? Thank you.


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
Return cell content in a matched range Jack Excel Worksheet Functions 2 February 11th 10 10:55 PM
COMPARING TEXT IN A RANGE OF CELLS AND DISPLAY IT IN ANOTHER. John Excel Worksheet Functions 1 February 25th 09 12:35 PM
Comparing a cell value to a range PaladinWhite Excel Worksheet Functions 6 March 24th 08 12:15 AM
comparing one to one cell within range caroline Excel Worksheet Functions 3 January 29th 08 08:37 PM
Comparing a cell value to a range value and display a matched value Albert Sim Excel Programming 0 January 27th 04 04:21 AM


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