comment text box

E

Edgard \\kniriem

I usually insert comments in almost every cell. When the comment text box
opens it always come with my name. If I delete my name in
Tools/options/general/user name, the comment text box opens with S_User
instead of my name. If I change my name for , let us say, a point, the
comment text box opens with ":." How can I do to make this comment text box
open completely blank and without formating?
TIA
 
G

Gord Dibben

Debra Dalgleish has provided code for this.

Copy/paste the code to your workbook or Personal.xls.

Assign the macro to a button and use that button to insert a comment.

Sub PlainComment()
Selection.AddComment text:=""
Selection.Font.FontStyle = "Regular"
Selection.Comment.Visible = True
End Sub

Gord Dibben Excel MVP
 
E

Edgard Kniriem

Thank you

--
Edgard Kniriem
Gord Dibben said:
Debra Dalgleish has provided code for this.

Copy/paste the code to your workbook or Personal.xls.

Assign the macro to a button and use that button to insert a comment.

Sub PlainComment()
Selection.AddComment text:=""
Selection.Font.FontStyle = "Regular"
Selection.Comment.Visible = True
End Sub

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top