#1   Report Post  
Steved
 
Posts: n/a
Default Comment Boxes

Hello from Steved

I have over 360 comment boxes in Excel.

Question please.

Is there away to have all the comment boxes the same size.

Thankyou.


  #2   Report Post  
Rob van Gelder
 
Posts: n/a
Default

Some code is necessary:

Hit ALT+F11 to open Visual Basic Editor
Insert a Module
Paste this code.
Put your cursor in the code and hit F5.

Sub test()
Dim rng As Range

For Each rng In Cells.SpecialCells(xlCellTypeComments)
With rng.Comment.Shape
.Width = 200
.Height = 200
End With
Next
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Steved" wrote in message
...
Hello from Steved

I have over 360 comment boxes in Excel.

Question please.

Is there away to have all the comment boxes the same size.

Thankyou.




  #3   Report Post  
Steved
 
Posts: n/a
Default

Thankyou


-----Original Message-----
Some code is necessary:

Hit ALT+F11 to open Visual Basic Editor
Insert a Module
Paste this code.
Put your cursor in the code and hit F5.

Sub test()
Dim rng As Range

For Each rng In Cells.SpecialCells(xlCellTypeComments)
With rng.Comment.Shape
.Width = 200
.Height = 200
End With
Next
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Steved" wrote in

message
...
Hello from Steved

I have over 360 comment boxes in Excel.

Question please.

Is there away to have all the comment boxes the same

size.

Thankyou.




.

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
comment boxes w-domo Excel Discussion (Misc queries) 1 January 21st 05 01:30 PM
Comment position..?? RJH Excel Discussion (Misc queries) 1 December 29th 04 04:00 PM
comment indicators should feature lock or pw protect limiting acc. summer_rose Excel Worksheet Functions 1 December 3rd 04 07:02 AM
a comment plugin & copy paste directly from excel to comment ? fr. RFM Excel Worksheet Functions 0 December 1st 04 11:29 PM
Comment associated with a cell doncam65 Excel Worksheet Functions 0 November 4th 04 09:14 AM


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