LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
kirkm
 
Posts: n/a
Default Need Comments list from Worksheet


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

 
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
Change format of all comments in an Excel worksheet Eric Armstrong Excel Discussion (Misc queries) 1 February 24th 06 12:32 AM
Need to add cell comments in unlocked cell on protected worksheet dan400man Excel Discussion (Misc queries) 3 December 16th 05 08:02 PM
Using a data validation list to look up a defined named range in another worksheet Laura Hunt Charts and Charting in Excel 0 November 24th 05 02:29 PM
How to get the complete list Excel Worksheet Functions phil Excel Worksheet Functions 1 September 5th 05 01:36 PM
List box not being displayed in second worksheet Brian Excel Discussion (Misc queries) 2 January 27th 05 04:35 PM


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