Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello - I'm after a list of all the comments and was given this Sub newthing() For i = 0 To Worksheets(1).Comments.Count Debug.Print i, Worksheets(1).Comments(i).Parent, "###", Worksheets(1).Comments(i).Text Next End Sub A added 'Dim i' to it but all I could get was Run-time error '9': Subscript out of range Any help appreciated. Thanks - Kirk -- kirkm ------------------------------------------------------------------------ kirkm's Profile: http://www.excelforum.com/member.php...o&userid=35814 View this thread: http://www.excelforum.com/showthread...hreadid=555888 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe you can make it even prettier by printing from word:
http://www.contextures.com/xlcomments03.html#CopyToWord (Debra Dalgleish's site) kirkm wrote: Hello - I'm after a list of all the comments and was given this Sub newthing() For i = 0 To Worksheets(1).Comments.Count Debug.Print i, Worksheets(1).Comments(i).Parent, "###", Worksheets(1).Comments(i).Text Next End Sub A added 'Dim i' to it but all I could get was Run-time error '9': Subscript out of range Any help appreciated. Thanks - Kirk -- kirkm ------------------------------------------------------------------------ kirkm's Profile: http://www.excelforum.com/member.php...o&userid=35814 View this thread: http://www.excelforum.com/showthread...hreadid=555888 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change format of all comments in an Excel worksheet | Excel Discussion (Misc queries) | |||
Need to add cell comments in unlocked cell on protected worksheet | Excel Discussion (Misc queries) | |||
Using a data validation list to look up a defined named range in another worksheet | Charts and Charting in Excel | |||
How to get the complete list Excel Worksheet Functions | Excel Worksheet Functions | |||
List box not being displayed in second worksheet | Excel Discussion (Misc queries) |