Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Neater! Why didn't I think of that....
Dana DeLouis wrote: Just some more options: Sub Demo() With ActiveCell If .Comment Is Nothing Then .AddComment "First Line" & vbLf Else .Comment.Text .Comment.Text & "More Lines" & vbLf End If .Comment.Shape.TextFrame.AutoSize = True End With End Sub HTH :) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code to check if a custom chart exists | Excel Programming | |||
Worksheets Exists Code... | Excel Programming | |||
Code to delete all comment boxes | Excel Discussion (Misc queries) | |||
VB Code to size the comment box | Excel Programming | |||
Help with code that checks if a sheet exists | Excel Programming |