I have a few word documents (templates) into which i mail merge data from a database. each document obviously has a different name. the mail merged data contains the KEY field from the database (a number which is different for each record).
My question is how is it possible for me have a document (for e.g. docone.dot) saved with a title docone(key).dot? I need the saving of the file and its printing to be done at the click of a button, as the user will be printing many records, and separately saving each document is time consuming and increases the possibility of mistakes. Also this document needs to be saved into a particular folder named after the key number (possibly newly created if nonexistent).
sorry if this is unclear, but 3 things need to happen at once: 1.folder created (if nonexistant), 2.saving with filename containing key number, 3.document needs to be sent to printer.
thank you all ever so much for your help
My question is how is it possible for me have a document (for e.g. docone.dot) saved with a title docone(key).dot? I need the saving of the file and its printing to be done at the click of a button, as the user will be printing many records, and separately saving each document is time consuming and increases the possibility of mistakes. Also this document needs to be saved into a particular folder named after the key number (possibly newly created if nonexistent).
sorry if this is unclear, but 3 things need to happen at once: 1.folder created (if nonexistant), 2.saving with filename containing key number, 3.document needs to be sent to printer.
thank you all ever so much for your help