Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Comment/Prompt with Drop Down List

I have a spreadsheet that contains drop down list on several cells. How can
I add a comment or a prompt so that when certain categories are selected from
the drop down list, a prompt or comment pops up?

I'm lost. Please help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Comment/Prompt with Drop Down List

You can use an event macro. Say cell A1 has a Data Validation dropdown and
one of the options is Horse. In worksheet code:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A1")) Is Nothing Then Exit Sub
If Range("A1").Value < "horse" Then Exit Sub
MsgBox ("see our prices for saddles")
End Sub
--
Gary''s Student - gsnu200767


"Carmen" wrote:

I have a spreadsheet that contains drop down list on several cells. How can
I add a comment or a prompt so that when certain categories are selected from
the drop down list, a prompt or comment pops up?

I'm lost. Please help!

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
Drop down lists that auto create and then filter the next drop down list [email protected] Excel Worksheet Functions 2 September 30th 07 11:53 AM
Drop Down List choice selecting another drop down list CVD0722 Excel Worksheet Functions 3 October 31st 06 01:02 PM
Bypass prompt to open XML file as XML list? Steve Vincent Excel Discussion (Misc queries) 0 March 13th 06 10:05 PM
Is there a way to prompt a list in a function? Victor B of TDC Excel Discussion (Misc queries) 0 February 9th 06 11:43 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM


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