ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Hi,
Please can you advise on my code as i have an issue i am unable to sort.
The shape is to small for the amount of text within it,ive tried to add like .Autoresize = False etc but just got errors.
Shape needs to expand to allow all the text to be read.
Please can you advise on my code as i have an issue i am unable to sort.
The shape is to small for the amount of text within it,ive tried to add like .Autoresize = False etc but just got errors.
Shape needs to expand to allow all the text to be read.
Rich (BB code):
For Each MyComments In ActiveSheet.Comments
With MyComments
.Shape.AutoShapeType = msoShapeRoundedRectangle
.Shape.TextFrame.Characters.Font.Name = "Times Roman" 'FONT STYLE CORRECT
.Shape.TextFrame.Characters.Font.Size = 20 'TEXT SIZE CORRECT
.Shape.TextFrame.Characters.Font.ColorIndex = 1 'TEXT COLOR CORRECT
.Shape.LINE.ForeColor.RGB = RGB(255, 0, 255)
.Shape.LINE.BackColor.RGB = RGB(255, 255, 255)
.Shape.Fill.Visible = msoTrue
.Shape.Fill.ForeColor.RGB = RGB(0, 255, 255) ' FILL COLOR CORRECT
.Shape.Fill.OneColorGradient msoGradientDiagonalUp, 1, 0.23
End With
Next 'comment