Anthony's VBA Forum Index Anthony's VBA Forum
Where the knowledge is shared
Menu
 Anthony's VBA Forum IndexHome Page
 Anthony's VBA Forum IndexForum Index
FAQFAQ
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesMessages
Log inLogin/Out

Quick Search

Advanced Search

Links
Consulting
Products

Who's Online
[ Administrator ]
[ Moderator ]


Manipulate Cell Comments

 
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA
View previous topic :: View next topic  
Author Message
Apprentice88



Joined: 26 May 2010
Posts: 2

PostPosted: Wed May 26, 2010 12:27 pm    Post subject: Manipulate Cell Comments Reply with quote

Hi,

I am new to Visual Basic and would appreciate any help.

How do I make cell comments display information from other cells?

Thanks,

The Apprentice
Back to top
View user's profile Send private message
Apprentice88



Joined: 26 May 2010
Posts: 2

PostPosted: Wed May 26, 2010 1:21 pm    Post subject: Reply with quote

Thank you all for helping me figure this out, A kind user from another board answered my question and here is the solution:


Private Sub Worksheet_Change(ByVal Target As Range)
Range("A1").Comment.Delete
Range("A1").AddComment
Range("A1").Comment.Visible = False
Range("A1").Comment.Text CStr(Range("A2").Value)
End Sub
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group