Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Question regarding comments

Hi everyone.

I was wondering if it would be possible to make different comments to
appear in the same cell depending on a selection from a validation
drop-down menu.

Let me expand a little bit on this:

Cells A1, A2, A3 have values of 1, 2, 3

Cell B1 is where the validation menu would appear (choices 1, 2 and
3), and the cell which would have a comment

Cells C1, C2, C3 have values of "one", "two", "three"

Would it be possible for me to create a comment in B1 which would
change based on a selection in that same cell?
(so that when I select a number, comment changes to the corresponding
word)


thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default Question regarding comments

Setup your Data Validation cell to not show an error if a wrong value is
entered. Then place this macro in the sheet module of your sheet. To
access that module, right-click on the sheet tab and select View Code.
Paste this macro into that module. "X" out of the module to return to your
sheet. Post back if you need more. HTH Otto
Private Sub Worksheet_Change(ByVal Target As Range)
Dim TheText As String
If Target.Count 1 Then Exit Sub
If Not Intersect(Target, Range("B1")) Is Nothing Then
Select Case Target.Value
Case 1: TheText = "One"
Case 2: TheText = "Two"
Case 3: TheText = "Three"
End Select
Application.EnableEvents = False
Target.Value = TheText
Application.EnableEvents = True
End If
End Sub
"Fusion1337" wrote in message
...
Hi everyone.

I was wondering if it would be possible to make different comments to
appear in the same cell depending on a selection from a validation
drop-down menu.

Let me expand a little bit on this:

Cells A1, A2, A3 have values of 1, 2, 3

Cell B1 is where the validation menu would appear (choices 1, 2 and
3), and the cell which would have a comment

Cells C1, C2, C3 have values of "one", "two", "three"

Would it be possible for me to create a comment in B1 which would
change based on a selection in that same cell?
(so that when I select a number, comment changes to the corresponding
word)


thank you



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Question regarding comments

Many thanks Otto, it worked like a charm.

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
Comments question Esradekan Excel Worksheet Functions 10 July 1st 08 02:16 PM
in excel useing comments how do you add clip art to comments? dhouse New Users to Excel 2 July 18th 07 08:14 AM
Question - Excel Comments to Word Footnotes Ngentot Excel Discussion (Misc queries) 0 May 18th 06 02:15 AM
A Question Regarding Comments AccessHelp Excel Discussion (Misc queries) 14 January 10th 06 03:27 PM
Comments piddilin Excel Discussion (Misc queries) 8 March 22nd 05 08:57 PM


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