Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Links / September 2003

Tip: Looking for answers? Try searching our database.

Linking Spreadsheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dominic - 10 Sep 2003 16:37 GMT
I have managed to link two spreadsheets, but on the master
copy i have comments boxes, on the others i don;t want the
comments boxes, but columns for comments...
But what i want to happen is when i update the comments
box on the master i want this to update the comments in
the columns...
Is it possible to link the comments box to a another cell
in another worksheet.
Bill Manville - 11 Sep 2003 01:13 GMT
> Is it possible to link the comments box to a another cell
> in another worksheet.

I don't think so.
Since changing a comment (cell note) doesn't generate an event you
can't even write a program to update the other cell with the comment
automatically.

You could use a visual basic function to extract the text from the cell
note and show it in a cell in the other worksheet though.  Add this VBA
function in a standard module in the VBProject of the workbook you want
to contain the formula.

Function GetComment(R As Range) As String
 Application.Volatile
 If R.Comment Is Nothing Then Exit Function
 GetComment = R.Comment.Text
End Function

In the cell you want the copy of the comment to appear in,

=GetComment([OtherBook.xls]Sheet1!$A$1)
(adjusting the address appropriately)

For best results format the cell to wrap text.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.