LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

Since you can't change how Excel prints cell comment you might consider
listing cell comments in a range and printing the list. Here's a routines
to do the listing. It operates on the active sheet. It hasn't been tested
extensively.

Sub ListNotes()
Dim ListSheet As Worksheet, CurrSheet As Worksheet
Dim Cell As Range, Counter As Integer
Dim CellName As String, CommentsRg As Range
On Error GoTo NoNotes
Set CommentsRg = Cells.SpecialCells(xlCellTypeComments)
Set CurrSheet = ActiveSheet
Set ListSheet = Worksheets.Add
ListSheet.Range("A1").Value = ActiveWorkbook.Name & " " &
ActiveSheet.Name
Counter = 1
On Error Resume Next
For Each Cell In CommentsRg
Counter = Counter + 1
With ListSheet
Err.Clear
.Cells(Counter, 1).Value = Cell.Name.Name
If Err.Number = 0 Then GoTo SkipAddress
.Cells(Counter, 1).Value = Cell.Address
SkipAddress:
.Cells(Counter, 2).Value = Cell.Comment.Text
End With
Next
Exit Sub
NoNotes:
MsgBox "No cellnotes on this sheet"
End Sub


--
Jim
"flo1730" wrote in message
...
| I'm creating an Excel checklist for other users and I have added context
to
| each item on the list using the "comments" function.
|
| I have an issue regarding the way the comments are set out for printing. I
| have selected the "print comments at end of sheet" option in page setup.
This
| is fine except that the comments are referenced by cell number which won't
| make much sense to my intended audience.
|
| Is there any way to reference the printed comments by "Cell Name"?
|
| Thanks,


 
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
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM
reference cell value from fixed column with variable row bob z Excel Discussion (Misc queries) 0 May 23rd 05 11:30 PM
How do I reference every "n" cell in a column in Excel? Alma Excel Worksheet Functions 2 March 22nd 05 06:19 PM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


All times are GMT +1. The time now is 06:42 AM.

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"