A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Force entry into cell, based on validation selection in adjacent cell



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 17th, 2009, 05:36 PM posted to microsoft.public.excel.worksheet.functions
Richhall[_2_]
external usenet poster
 
Posts: 41
Default Force entry into cell, based on validation selection in adjacent cell

Hi

I've looked at other posts and can't seem to find what I need so
apologies if it is posted elsewhere.

I have two columns, the first column has validation as a List to
select a number of items. If a certain item is selected, then only
for this item, I want the cell in the column next to this item to
prompt the user to enter some data (just text).

So imagine 10 rows, with all in column A as a validated drop down:


A B
1 Banana
2 Banana
3 Apple
4 Cheese Stilton
5 Orange
6 Kiwi
7 Cheese Wenselydale
8 Pear
9 Banana
10 Orange

When Cheese is selected a pop up box appears saying 'Enter Type', and
the user has to enter the type free format?

Is this just some MsgBox VB based on the entry? I.e what type of event
is it if I do the code.

If Range ("A1) = "Cheese" Then
msgBox "Enter Type "
Range ("A2).Select


Also

If I wanted to make the cell colour yellow, until a value is then
entered, what would I enter?

Cheers

Rich
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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