Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-01-2015, 11:48 AM
gaafar.dafalla@illinois.g gaafar.dafalla@illinois.g is offline Reset Word Document Windows 7 32bit Reset Word Document Office 2013
Novice
Reset Word Document
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't reset form fields (Word 2013) and conditional formatting rogelinepaula Word VBA 24 01-07-2016 03:54 PM
Reset Word Document Word document with Macros with trusted locatin versus Word document 1997-2003 Cardinal2 Word 1 11-30-2015 07:42 PM
Reset Animations debraholloway PowerPoint 0 07-14-2011 09:22 PM
Reset Word Document Need to reset default document Danny Jo Word 1 07-06-2009 10:24 AM
Reset on error kiwichico Word VBA 0 09-23-2008 08:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft