View Single Post
 
Old 03-26-2012, 06:47 AM
jillapass jillapass is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Dec 2011
Posts: 26
jillapass is on a distinguished road
Default Saving document using Form Contents

I have a form, this is using a table not a user form.
I want to do a saveas using details recording in form content control fields to make up the file name.

I have date, number and name that I want to add to the end of a filename to make it unique each time it is saved, but still recognisable when being looked for.

I have tried this:

ActiveDocument.SaveAs FileName = "M:\Care Plan System\" & ActiveDocument.Bookmarks("ReviewDate") & "fileformat:=wdformatxmltemplatemacroenabled"

but it doesn't work giving error message run-time error 5941
the requested member of the collection does not exist.

Any help greatly received.
Reply With Quote