PC Review


Reply
Thread Tools Rate Thread

Default formatting on Comments

 
 
johan@aktieguiden.com
Guest
Posts: n/a
 
      8th Jun 2006
Is it possible to change the default formatting of comments in Excel? I
would like to have a larger font size in comments, but it always
defaults to Arial, 8pt.

I tried to change the AutoShape defaults, but that didn't help.

Regards // Johan

 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      8th Jun 2006
To change the default font size (Note: this will change the settings for
tooltips in Excel and other programs) --

Right-click on the desktop, and choose Properties
On the Appearance tab, click Advanced.
From the Item dropdown, choose Tooltip
Choose a font Size, click OK, click OK
(Note: selecting a font type here will not affect the
default font used in Excel's comments)
You can also set the font to Bold or italic, and select a colour

To insert a comment with a specific font type, you can use a macro:

http://www.contextures.com/xlcomments03.html#Formatted


(E-Mail Removed) wrote:
> Is it possible to change the default formatting of comments in Excel? I
> would like to have a larger font size in comments, but it always
> defaults to Arial, 8pt.
>
> I tried to change the AutoShape defaults, but that didn't help.
>
> Regards // Johan
>



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
 
Miyahn
Guest
Posts: n/a
 
      8th Jun 2006
<(E-Mail Removed)> wrote in message news:(E-Mail Removed)
> Is it possible to change the default formatting of comments in Excel? I
> would like to have a larger font size in comments, but it always
> defaults to Arial, 8pt.
>
> I tried to change the AutoShape defaults, but that didn't help.


How about using the add-in which have following code in standard module.
(This add-in changes only cell's context menu.)

Option Explicit
'
Sub Auto_Open()
On Error Resume Next
SendKeys "{ESC}"
Application.CommandBars("Cell").ShowPopup
Application.CommandBars("Cell").FindControl(ID:=2031).OnAction _
= "MyComment"
On Error GoTo 0
End Sub
'
Sub Auto_Close()
On Error Resume Next
SendKeys "{ESC}"
Application.CommandBars("Cell").ShowPopup
Application.CommandBars("Cell").FindControl(ID:=2031).Reset
On Error GoTo 0
End Sub
'
Sub MyComment()
With Selection.AddComment
.Visible = False
.Text "Comment:"
With .Shape.TextFrame.Characters.Font
.Name = "Times New Roman"
.FontStyle = "Normal"
.Size = 11
End With
End With
SendKeys "%(IE){ENTER}"
End Sub

--
Miyahn (Masataka Miyashita) JPN
Microsoft MVP for Microsoft Office - Excel(Jan 2006 - Dec 2006)
https://mvp.support.microsoft.com/pr...4-83d372c269b4

 
Reply With Quote
 
johan@aktieguiden.com
Guest
Posts: n/a
 
      8th Jun 2006
Thank you both for the fast replies!

The macro and the addin is pretty sweet! I suppose there is a similar
way to override the default behavior of Insert, Comment by setting my
own OnAction event handler?

#2: What an excellent site! The RSS-feed is added to my favorites!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Comments sid Microsoft Excel Programming 1 21st May 2008 10:46 PM
Formatting Comments =?Utf-8?B?QXJjb25uYQ==?= Microsoft Word Document Management 1 6th May 2007 06:13 AM
formatting comments =?Utf-8?B?bmV3eW9ya2pveQ==?= Microsoft Excel Misc 0 14th Mar 2007 01:20 AM
how to change the default formatting of comments in excel? =?Utf-8?B?WmFjaA==?= Microsoft Excel Worksheet Functions 1 19th Sep 2005 12:11 PM
Formatting in Comments Box =?Utf-8?B?S2FyZW4=?= Microsoft Outlook Contacts 2 29th Apr 2005 11:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:51 AM.