Word VBA – Hide Field Codes
The following snippet will hide the field codes present in Word document.
Sub Hide_Field_Codes()
Application.ActiveWindow.View.ShowFieldCodes = False
End Sub
Welcome to VBA Tips & Tricks. All VBA related information will be posted on this blog. Of late, VBA has been disregarded by many software professionals for .Net, c# and other technologies. This blog will also post articles related to them too Happy reading
Word VBA – Hide Field Codes
The following snippet will hide the field codes present in Word document.
Sub Hide_Field_Codes()
Application.ActiveWindow.View.ShowFieldCodes = False
End Sub
No comments:
Post a Comment