View Single Post
 
Old 03-18-2017, 06:15 AM
angelaschultz angelaschultz is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Mar 2017
Posts: 4
angelaschultz is on a distinguished road
Default

I broke it. Ok so I deleted the original VBA code (dont worry I saved a copy of it for pasting later if I need to) and deleted the second content control that was showing the customer information. I added two text content controls as described in your comment earlier. Now it keeps popping an error code telling me that "you are not allowed to edit this section because it is protected". When I hit the debug option this is the line that it references.

.Item(i).Range.Text = .Item(1).Range.Text

I checked my 3 content controls (drop down content control and two text content controls) and verified that they were all set to allow editing. I am not sure what I did wrong or deleted that I shouldn't have. Please help.

I have attached a simplified version of the doc so you can see what I am working with and maybe give better insight. Thank you for all your help. Sincerely,

Angela
Attached Files
File Type: docm code file.docm (43.8 KB, 24 views)
Reply With Quote