I used keyboard to create a red elipse or so I thought. Sicen 2010 does not record mouse mouse anymore?????? this is all the code there is and I can't seem to understand it. nothing is missing it made this mess.
all I want is a red elipse on the document with no back fill.
DougP
all I want is a red elipse on the document with no back fill.
Code:
Sub ImageAddFrame_TextWrapTB()
'
' ImageAddFrame_TextWrapTB Macro
Dim Shp As Shape
With Selection
If .InlineShapes.Count = 1 Then
Set Shp = .InlineShapes(1).ConvertToShape
Else
Set Shp = .ShapeRange(1)
End If
With Shp
With .WrapFormat
.Type = wdWrapTopBottom
.DistanceTop = InchesToPoints(0.1)
.DistanceBottom = InchesToPoints(0.1)
End With
With .Line
.Weight = 2#
.ForeColor.RGB = RGB(0, 0, 0)
End With
End With
End With
'
End Sub
Imp Case Is <= Option Private Module ' <<< what is this it added to teh bottom of the Module
'
' RedElipse Macro
'
'
Selection.MoveRight Unit:=wdCharacter, Count:=1
End Sub
DougP