Hello everyone.
I have a Protected Form(that I don't have the password to) with Text Form Fields and have been struggling to get text to be inserted via VBA into the Text Form Field. Here's the code:
Sub TypeTextMethod()
Selection.TypeText Text:="Hello"
End Sub
It's nothing fancy, but after i click on the Text Form Field and run it, I get:
Run-time Error '4065': This method or property is not available because the object refers to a protected area of the document.
Pasting text seems to work but that would mean me manually highlighting the text (from a different source), manually clicking the text field, then pasting it.
Is there no other way to Insert text into a Text Form Field?
Thanks in advance everyone.
-Steve