I am trying to programmatically add some comments to Cells in Excel 97 worksheets usign VBA with codes similar to the following:
I face the following problems:-
1) Compile error on .Author
a)Using
doesn't work either
b)Nor does
2) "The Text I wanted as comment" appears in BOLD in the comment box, which normally happens just for Author name non-programatically.
So How could I set comments such that the Author name appears properly and the text appears non-bold??
I want the comments to be
My Project name
The text I wanted as comments
[sig][/sig]
Code:
With xlsheet.Range("A11").AddComment
.Text "The Text I wanted as comment"
.Author "My Project name"
End With
I face the following problems:-
1) Compile error on .Author
a)Using
Code:
.Author = "My Project name"
b)Nor does
Code:
Set .Author= "My Project name"
2) "The Text I wanted as comment" appears in BOLD in the comment box, which normally happens just for Author name non-programatically.
So How could I set comments such that the Author name appears properly and the text appears non-bold??
I want the comments to be
My Project name
The text I wanted as comments
[sig][/sig]