Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Dynamic comments

Comments is a nice way to give information to users,unfourtunately I´m not
able to make dynamic comments.

Example:
I show sales in sheet 1 cell A1 (for instance 100)
Sales is populated from the sum sheet 2 A1=Europe 50 and A2 sheet 2 =USA 50

I want a comment in sheet 1 cell A1 displaying Europe 50, USA 50

If I change sheet 2 then sheet 1 cell A1 and its comments are updated.

Thanks for you help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Dynamic comments

A modification of this to suit should do it. You will need to know the
comment number found by right click lower right corner of the comment.

Right click the sheet tabview codecopy paste thismodify to suitSAVE. Now
when you change cell d5 to 5 the comment will show
Europe=5,USA=whatever is in cell d6

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$D$5" Then
Comments(1).Text "Europe= " & Target & ", USA=" & Range("d6")
End If
End Sub

--
Don Guillett
SalesAid Software

"Mariano" wrote in message
...
Comments is a nice way to give information to users,unfourtunately I´m not
able to make dynamic comments.

Example:
I show sales in sheet 1 cell A1 (for instance 100)
Sales is populated from the sum sheet 2 A1=Europe 50 and A2 sheet 2 =USA
50

I want a comment in sheet 1 cell A1 displaying Europe 50, USA 50

If I change sheet 2 then sheet 1 cell A1 and its comments are updated.

Thanks for you 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
excel 2000 how to format the comments font all comments Delquestion Excel Discussion (Misc queries) 1 October 8th 09 02:19 PM
Dynamic Comments without Gaps in between JP Excel Discussion (Misc queries) 0 March 20th 08 10:23 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
Any way to link comments (dynamic) to another cell's contents? KR Excel Discussion (Misc queries) 1 June 27th 06 05:06 PM
Dynamic Comments/Validation/Text Boxes George Andrews Excel Programming 0 May 16th 05 10:20 PM


All times are GMT +1. The time now is 04:09 PM.

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"