|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Unsure why running a macro that generates text is deleting the legacy form field I want the text in
Greetings all.
I have a template with several legacy form fields that I want to input information into. I have several macros that generate text. Up until very recently, I was using an older version of word. Essentially I have a hotkey that protects/unprotects the word document, so I would tab through the legacy form fields, unprotect the document, then run a macro. In the older version, this would generate the text INSIDE the legacy form field. However, I recently upgraded to word 2013, and when I run the macros it deletes the legacy form field and simply puts the text where the field used to be. I have so far been unable to get around this and have been trying for days. I need a solution that: 1.) Gets the text INSIDE the legacy form field. 2.) Gives me the choice of running several different macros (I can't simply set up a macro to run when exiting the form field, as I have several different to choose from). Thanks for taking the time to read! |
#2
|
||||
|
||||
Without seeing either a document or the code, it's impossible for anyone to diagnose the issue. Can you attach a document to a post with some representative data (delete anything sensitive) plus the relevant macros? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA Code to Insert Legacy Text Field | PSSMargaret | Word VBA | 17 | 06-15-2016 04:22 AM |
Macro to find text and replace with form field containing that text | iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
Grammar check into legacy forms > Text form field. | Eduardo Care | Word | 2 | 09-09-2015 03:11 PM |
Macro not running on exiting legacy drop down menu. | supremegrandruler | Word VBA | 5 | 12-11-2014 11:14 PM |
Macro to find coloured text and replace with form-field/formtext containing that text | tarktran | Word VBA | 1 | 11-26-2014 08:12 AM |