![]() |
#1
|
|||
|
|||
![]() 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. |
#2
|
||||
|
||||
![]()
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] |
![]() |
Tags |
macro, template |
|
![]() |
||||
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 |
![]() |
LudaS | Word | 1 | 07-24-2015 05:42 AM |
![]() |
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 |
![]() |
adisl | Word VBA | 4 | 03-25-2014 02:40 AM |