Hi,
I have created a command button on a form which when clicked, opens a word document and inserts relevant text from the current record into bookmarks in the word document.
I am trying to write some code which ensures that the word document is saved as one of the field names on my record.
The type of code I have been using, for example is:-
objWord.ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges. (Instead of the DoNotSaveChanges part I would like to force the word document to save as a field on the current record).
Anyone have any ideas?
many thanks in advance,
Kirsty.
I have created a command button on a form which when clicked, opens a word document and inserts relevant text from the current record into bookmarks in the word document.
I am trying to write some code which ensures that the word document is saved as one of the field names on my record.
The type of code I have been using, for example is:-
objWord.ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges. (Instead of the DoNotSaveChanges part I would like to force the word document to save as a field on the current record).
Anyone have any ideas?
many thanks in advance,
Kirsty.