View Single Post
 
Old 11-01-2022, 02:22 PM
viewtost viewtost is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Jul 2021
Posts: 35
viewtost is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You put the fields wherever you want the output to appear. This is field coding - it has nothing to do with VBA.

In your sample document, all you have is text representations of the fields. You can't simply type the field braces (i.e. {}) or copy/paste them from here - they must be created in pairs via Ctrl-F9, or via Insert|Quick Parts>Field:IncludeText.

Thanks Macropod.
I am going to list my steps here as I am still getting an error:

1. Open my destination file "all customers"

2. click on insert > Quick parts > Field > category link and references > IncludeText > Field Codes > then I enter

INCLUDETEXT "C:\\Users\\Pascual\\Desktop\\Word master file and files\\Sainsburys"Sainsburys


Word master file and files is the folder on my desktop where the source file "Sainsburys" is saved. The last word (Sainsburys) is the name of the bookmark on the source file "Sainsburys" that I want to have in my destination file "all customers".

Then, I click ok and get the above into { } and when I toggle (alt F9), it says Error! Not a valid file name.

Can you please help?

Thanks
Pascual
Reply With Quote