Thread: [Solved] Reset Word Document
View Single Post
 
Old 12-01-2015, 11:48 AM
gaafar.dafalla@illinois.g gaafar.dafalla@illinois.g is offline Windows 7 32bit Office 2013
Novice
 
Join Date: Dec 2015
Posts: 1
gaafar.dafalla@illinois.g is on a distinguished road
Smile Reset Word Document

I have created a word document that can be sent as attachment when I click the submit button it sent as attachment. the document needs to be used by many people. I want the document to be blank again after it was sent.

I looked into this code, I didn't work

Doc.SaveAs2 FileName:=("S:\DATA\InformationTech\Secured\New Staff") & "\" & Environ("username"), Fileformat:=wdFormatDocument, AddToRecentFiles:=True

can somebody explain to my this code
thank you
Gaafar
Reply With Quote