Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2017, 07:25 AM
Souriane Souriane is offline saving a document in multiple locations Windows 7 64bit saving a document in multiple locations Office 2013
Advanced Beginner
 
Join Date: Feb 2017
Location: Quebec, Canada
Posts: 82
Souriane is on a distinguished road
Default

Hi!

Here is a code I use from Graham Mayor :

Code:
 Sub Save2Places()
'Written by Graham Mayor
Dim strFileA, strFileB, strFileC, strFileD
ActiveDocument.Save
strFileA = ActiveDocument.Name
'Write down your directory here:
strFileB = "c:\temp\" & strFileA
strFileC = "c:\mydocs\" & strFileA
strFileD = ActiveDocument.FullName
ActiveDocument.SaveAs FileName:=strFileB
ActiveDocument.SaveAs FileName:=strFileC
ActiveDocument.SaveAs FileName:=strFileD
End Sub

Reply With Quote
  #2  
Old 10-27-2017, 07:44 AM
Bovba12 Bovba12 is offline saving a document in multiple locations Mac OS X saving a document in multiple locations Office 2011 for Mac
Novice
saving a document in multiple locations
 
Join Date: Oct 2017
Posts: 3
Bovba12 is on a distinguished road
Default

Thank you Souriane!
forgive me for asking, but how do i find the path for my destination in my Mac and and after I've found them, how do i code them in the macro.
Thank you!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving to two Locations Simultaneously WilltheGrill09 Word 5 03-15-2024 03:15 PM
Mail Merge to multiple employees in multiple locations as PDF by location GFiz Mail Merge 1 05-13-2017 08:01 PM
saving a document in multiple locations Auto-fillin in multiple locations laura@knott Word VBA 2 10-18-2013 08:11 AM
Can't set document locations in Word 2003 puedeba2004 Word 0 07-31-2013 05:02 PM
saving a document in multiple locations Deleting Mail from Multiple Locations Blacker Outlook 3 09-19-2011 01:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:15 AM.


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