View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default setting the font type for all comments on excel spreadsheets

You can try out the below macro. If you are new to macros..

--Set the Security level to low/medium in (Tools|Macro|Security).
--From workbook launch VBE using short-key Alt+F11.
--From menu 'Insert' a module and paste the below code.
--Get back to Workbook.
--Run macro from Tools|Macro|Run <selected macro()

Sub Macro()
Dim sh As Worksheet, objCom As Object
For Each sh In ActiveWorkbook.Sheets
For Each objCom In sh.Comments
With objCom.Shape.TextFrame.Characters
..Font.Name = "TT"
..Font.Size = 10
End With
Next
Next
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Delquestion" wrote:

How can I set the font type and size for all the comments on a whole
spreadsheet.
Tahoma is set at present and I want to change to a TT font. I know how to
change each comment individually but want to reset the whole sheet. I am
using office 2000.