PDA

View Full Version : Read Write to a template add-in


DRB
10-15-2004, 02:32 PM
I have a template that I load as an add-in which has toolbars with my own array of buttons and some macros that I use all the time in Word. This has been working fine for me, but lately I want to start reading and writing values to this file. So I created my macros to do this and it worked fine because I had the document "open" when I was doing the creation. But when I loaded it as a template the macros were unable to read let alone write back to this file. If I want to perform any r/w action, the file has to be opened and available to the user interface. The project is unprotected and my macro security settings are on low.

I've looked up and down on MS KB website, this forum and others, but cannot find any information on how to create a read/write template or any other solutions for that matter to create some means by which my macros can read and write data to an add-in. I did find a way to r/w to a .txt file, but I really want to take advantage of r/w data to a word table much like you would an Excel spreadsheet.

Thank you for any help or direction.