unprotect / protect a form to run a macro

  • Thread starter Thread starter Johnnyboy5
  • Start date Start date
J

Johnnyboy5

I need this macro to run in a “protected Form”

Can some add what’s needed to unprotect and protect the form when
this macro has been run.

Sub tick()
'
' tick Macro
' Macro recorded 29/06/2011 by
'
Selection.Font.Size = 18
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3844,
Unicode _
:=True

End Sub

Thanks

Johnnyboy
 
There's some partially relevant code at
http://word.mvps.org/FAQs/MacrosVBA/TurnFmFlfResetOff.htm.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

I need this macro to run in a “protected Form”

Can some add what’s needed to unprotect and protect the form when
this macro has been run.

Sub tick()
'
' tick Macro
' Macro recorded 29/06/2011 by
'
Selection.Font.Size = 18
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3844,
Unicode _
:=True

End Sub

Thanks

Johnnyboy
 
Back
Top