AntM79
08-11-2015, 01:02 AM
Hello all,
I have a Word document that is generated from Crystal reports, inserting text objects in Crystal seems to generate Frames in Word. This document has to have areas that are locked for editing. Those areas have been marked by ~and an at sign for frames that need to be converted to Check box form fields and ~~ for Frames that need to be text formfield controls. The idea and code I wrote works fine for converting the various frames to either text or check form fields but the problem I'm having is that if there is text already in the Frame text box that needs to be brought over into the form field it gets duplicated.
"~~23456789" to this "23456789 23456789" the formfield seems to be inserted within the Frame and the duplicate entry or text is uneditable. I need the duplicate removed!
I have tried a few things but can't seem to find a way around it, any help would be greatly appreciated! I have attached a word document with some examples of the check boxes and text boxes that need converting along with the code in module1. The ones that are causing problems are the type in the example stated here. hope that makes sense.
Thanks in advance for any help
I have a Word document that is generated from Crystal reports, inserting text objects in Crystal seems to generate Frames in Word. This document has to have areas that are locked for editing. Those areas have been marked by ~and an at sign for frames that need to be converted to Check box form fields and ~~ for Frames that need to be text formfield controls. The idea and code I wrote works fine for converting the various frames to either text or check form fields but the problem I'm having is that if there is text already in the Frame text box that needs to be brought over into the form field it gets duplicated.
"~~23456789" to this "23456789 23456789" the formfield seems to be inserted within the Frame and the duplicate entry or text is uneditable. I need the duplicate removed!
I have tried a few things but can't seem to find a way around it, any help would be greatly appreciated! I have attached a word document with some examples of the check boxes and text boxes that need converting along with the code in module1. The ones that are causing problems are the type in the example stated here. hope that makes sense.
Thanks in advance for any help