Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2016, 08:35 PM
saclucas saclucas is offline Copy macro/template from Word 2013 to 365 Windows 7 64bit Copy macro/template from Word 2013 to 365 Office 2013
Novice
Copy macro/template from Word 2013 to 365
 
Join Date: Feb 2016
Posts: 1
saclucas is on a distinguished road
Default Copy macro/template from Word 2013 to 365

I created a macro in Word 2013 (Windows 7) and saved it in the normal template. I need to install the same macro on another computer using Word 365 running on Windows 8.1 (may have upgraded to 10).

I've found how to locate the template file, but if I copy it and paste it into the other system, will there be problems copying a 2013 template into 365?

Would I be better off copying just the macro, and, if so, how would I do that? It's my first macro ever, and I have no experience at all in VBA.
Reply With Quote
  #2  
Old 02-18-2016, 09:19 PM
macropod's Avatar
macropod macropod is offline Copy macro/template from Word 2013 to 365 Windows 7 64bit Copy macro/template from Word 2013 to 365 Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
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

If you copy your Normal template over the other computer's Normal template, any customisations in that template (e.g. changes to Style definitions, macros, etc.)will be wiped out. Better to copy the code. Perhaps the simplest way to do this is to open the VBA Editor (Alt-F11) copy the code from whatever subs & modules you want, then paste the code into NotePad. Save the NotePad file, take/email it to the other PC, then reverse the process. A more comprehensive approach is to export the subs etc. (via File>Export File), which is what you'll need to do if userforms are involved, then import them at the other end.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
macro, template



Similar Threads
Thread Thread Starter Forum Replies Last Post
a macro that can copy data from copy.xls to our current excel macro.xls based on criteria: udhaya Excel Programming 1 11-12-2015 10:12 AM
Copy macro/template from Word 2013 to 365 Caption Copy in Word 2013 LudaS Word 1 07-24-2015 05:42 AM
Copy macro/template from Word 2013 to 365 Word 2013 asks about changing template all the time mysterywriter Word 9 04-05-2015 07:05 AM
Apply custom template to document in Word 2013 jcm48 Word 8 03-02-2015 05:30 PM
Copy macro/template from Word 2013 to 365 Word macro: copy from different tables into one table adisl Word VBA 4 03-25-2014 02:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:34 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