Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2017, 02:09 PM
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 saving a document in multiple locations

Hello,
I'm knew to this forum, so forgive me if this query has been asked.
I'm trying to create a macro in Word (using a Mac) to save a document in multiple locations at the same time. Or whenever I save my latest work, it would save simultaneously in two different folders for example.
Thank you!

Imac 2012 OS 10.9.5


Office 2011
Word 14.6.4
Reply With Quote
  #2  
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
  #3  
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
  #4  
Old 10-27-2017, 08:24 AM
macropod's Avatar
macropod macropod is offline saving a document in multiple locations Windows 7 64bit saving a document in multiple locations Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,367
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I doubt that code would work on a Mac - filepaths in that environment are expressed quite differently from a PC (which is what the posted code is for). See: https://community.spiceworks.com/top...cel-vba-script
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 10-27-2017, 09:28 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 Thanks for your quick response!

Thanks for your quick response!
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 04:50 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