How do I do this? At the moment when I insert a comment, the default font size is too small.
How do I do this? At the moment when I insert a comment, the default font size is too small.
the only way to change the defaults is to change the windows tooltip settings. in my opinion it's easier to use a macro to insert comments or reformat them
Josie
if at first you don't succeed try doing it the way your wife told you to
Thanks. What is involved in changing the windows tooltip settings? And how would a macro work if the comments are all bespoke and for different cells?
in current versions of windows I'm not entirely sure! in previous versions you could customize the appearance through the display option in control panel
you can use
to insert a formatted comment in each cell in the selection![]()
Sub addMyComment() Dim rCell As Range For Each rCell In Selection With rCell .AddComment "JP: " & vbLf & InputBox(prompt:="Enter comment text", Title:="New comment") With .Comment.Shape With .TextFrame With .Characters.Font .Name = "Calibri" .Size = 18 End With .HorizontalAlignment = xlCenter .VerticalAlignment = xlCenter .ReadingOrder = xlContext .AutoSize = True End With ' .TextFrame .AutoShapeType = msoShapeRoundedRectangle End With ' .Comment End With ' rCell Next rCell End Sub
Perfect! Many thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks