Hello,
We're trying to insert an ID number into the footer of a Word document based on certain conditions. The conditions are as follows (we're OK for conditions 1 and 2 - they are just there to give you the whole picture):
1.) That if there is no text currently present in the footer, just insert the ID number (which we are currently doing).
2.) If there is a file path present in the footer, replace the file path with the ID number (which we are currently doing)
3.) If there is existing text in the footer, which is not a valid file path, insert the ID number after the last existing text character.
Can anyone tell me the simplest way to address condition 3? I can find some documentation for counting characters / inserting text for the main body of the document, but not for the footer section (and am fairly new to VBA in any case).
Please let me know if you need more info, otherwise very grateful for any suggestions.
Thanks, Gavin