Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Shaun
 
Posts: n/a
Default put info from cell into comment

Not sure how to use this UDF.....I need the information that is in other
cells to be put into a comment box.
Shaun


Try this UDF:

Function copycomment(r As Range)
Application.Volatile
Dim whereami As Range
Set whereami = Application.Caller
If whereami.Comment Is Nothing Then
Else
whereami.Comment.Delete
End If
whereami.AddComment Text:=r.Value
copycomment = ""
End Function


I need to link information found in other sheets of my workbook to comment
boxes on my first sheet. Can this be done, and if so, how?? Any help is
much appreciated, thanks.

Shaun

--
Gary''s Student

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default put info from cell into comment

Just paste your UDF into a regular module and in the cell where you want the
comment box, type =Copycomment(Sheet2!B1) and it will put the value in cell
B1 of sheet2 in the comment box where you typed that formula

hth
Vaya con Dios,
Chuck, CABGx3



"Shaun" wrote:

Not sure how to use this UDF.....I need the information that is in other
cells to be put into a comment box.
Shaun


Try this UDF:

Function copycomment(r As Range)
Application.Volatile
Dim whereami As Range
Set whereami = Application.Caller
If whereami.Comment Is Nothing Then
Else
whereami.Comment.Delete
End If
whereami.AddComment Text:=r.Value
copycomment = ""
End Function


I need to link information found in other sheets of my workbook to comment
boxes on my first sheet. Can this be done, and if so, how?? Any help is
much appreciated, thanks.

Shaun

--
Gary''s Student

  #3   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default put info from cell into comment

Shaun

Stick with one thread.

You have an answer at your original posting in this NG


Gord Dibben MS Excel MVP

On Tue, 27 Jun 2006 10:43:02 -0700, Shaun
wrote:

Not sure how to use this UDF.....I need the information that is in other
cells to be put into a comment box.
Shaun


Try this UDF:

Function copycomment(r As Range)
Application.Volatile
Dim whereami As Range
Set whereami = Application.Caller
If whereami.Comment Is Nothing Then
Else
whereami.Comment.Delete
End If
whereami.AddComment Text:=r.Value
copycomment = ""
End Function


I need to link information found in other sheets of my workbook to comment
boxes on my first sheet. Can this be done, and if so, how?? Any help is
much appreciated, thanks.

Shaun


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
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
linking to a cell within a text cell or comment BlueJ2005 Excel Worksheet Functions 0 May 11th 06 10:36 PM
HOW DO I COPY & PASTE A SMALL INFO FM AN XL TO THE CELL COMMENT RAGHAV Excel Worksheet Functions 0 May 3rd 06 03:17 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


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