I have a button, a legacy drop down form, and a table.
When I press my button, VBA code pulls the currently selected item from my legacy drop down form, and inserts it into my table.
With ActiveDocument
.Tables(15).Rows.Last.Cells(1).Range.InsertAfter .FormFields("DropDown2").Result
End With
However, the drop down list does not "drop down" when I am in non-protected mode. I need users to be able to select from the drop down form.
So, I changed to protected-mode to allow the drop down list to function normally. However, when I run the macro in protected mode, I receive this error:
This method or property is not available because the object refers to a protected area of a document.
What can I do? Is my approach totally wrong, or is there a fix for this?
This is a follow up to User selects item from drop down box, clicks button, and the selected item populates the last row of a table