Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 271
Default hidden comments boxes

I get excel files sent to me. Some have comments that are visable and some
have them that are hidden. I need a code that will leave visable comments
visable and unhide any hidden comments boxes.


--
Thanks
Shawn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default hidden comments boxes

This will scan thru each worksheet in the entire workbook and then find all
comments and make the visible. You could put this code in the workbook Open
Event or just put this code into a standard module and call it with a button.
Hope this helps! If so, let me know, click "YES" below.

Private Sub Workbook_Open()

Dim wks As Worksheet
Dim cmt As Comment

' scan each worksheet in a workbook
For Each wks In Worksheets

' scan each comment in the worksheet
For Each cmt In wks.Comments
cmt.Visible = True
Next cmt
Next wks

End Sub
--
Cheers,
Ryan


"Shawn" wrote:

I get excel files sent to me. Some have comments that are visable and some
have them that are hidden. I need a code that will leave visable comments
visable and unhide any hidden comments boxes.


--
Thanks
Shawn

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
Hidden Comments ClaireView Excel Discussion (Misc queries) 5 February 8th 10 07:06 PM
Hidden comments Oldjay Excel Discussion (Misc queries) 13 February 11th 08 11:27 PM
hidden comments DonnaO New Users to Excel 3 May 3rd 07 05:50 PM
Comments Boxes bluebadger Excel Discussion (Misc queries) 1 May 16th 06 12:58 PM
Hidden Comments Phippsy Excel Discussion (Misc queries) 3 November 1st 05 07:46 AM


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