I'm trying to write a macro that displays a "price estimate only" & then the opposite that removes the "price estimate only". The first one is working fine but I can't get the 2nd one to work. I'm sure its a simple mistake but I'm banging my head against the wall. Your help is appreciated. Thanks. there are 2 other logos on the worksheet so I can't select all shapes & delete. Just the word art.
Sub WaterMark()
Dim shp As Shape
Set shp = ActiveSheet.Shapes.AddTextEffect(msoTextEffect, "Price Estimate Only", "Arial", 100, False, False, 0, 0)
With shp
.Fill.Transparency = 1
.Line.Transparency = 1
End With
End Sub
Sub RemoveWaterMark()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
If shp.Type = msoTextEffect Then
shp.Delete
End If
Next shp
End Sub
Sub WaterMark()
Dim shp As Shape
Set shp = ActiveSheet.Shapes.AddTextEffect(msoTextEffect, "Price Estimate Only", "Arial", 100, False, False, 0, 0)
With shp
.Fill.Transparency = 1
.Line.Transparency = 1
End With
End Sub
Sub RemoveWaterMark()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
If shp.Type = msoTextEffect Then
shp.Delete
End If
Next shp
End Sub