Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2013, 08:36 AM
leemoreau leemoreau is offline How do I save a Word file with a macro for distribution? Windows 8 How do I save a Word file with a macro for distribution? Office 2013
Novice
How do I save a Word file with a macro for distribution?
 
Join Date: Sep 2013
Posts: 8
leemoreau is on a distinguished road
Default How do I save a Word file with a macro for distribution?


I made a word document and then added a bunch of docvariables, then used visual basic to create a userform. I save it on my desktop and works fine. When I open it, I click view, macros and then select the ShowForm macro and Run and it brings up the userform. However when I email the file to someone, they open it and get the standard "Enable macros?" question, but when they click View > Macros there's nothing shown there. If they go ALT-F11 to open Visual Basic, there's no userform etc shown. I did see one message about enabling macros and it showed the dotm I think it was file type but the path was a location on my own computer.

Maybe I'm missing the obvious, but how can I email a word document to someone so that they can just load it, and click View > Macros and then run the userform the same way I would? Thanks!
Reply With Quote
  #2  
Old 09-20-2013, 08:40 AM
slaycock slaycock is offline How do I save a Word file with a macro for distribution? Windows 7 64bit How do I save a Word file with a macro for distribution? Office 2013
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

I suspect the macro organiser will do what you want. Developer->Macros- then click on the synchronise button. Macros in Normal template appear in the right hand pane. Select the document you want using the left hand pane then copy across the macros.

Hope that helps.
Reply With Quote
  #3  
Old 09-29-2013, 08:48 PM
fumei fumei is offline How do I save a Word file with a macro for distribution? Windows 7 64bit How do I save a Word file with a macro for distribution? Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Are you sure the macros are in the file? By default recorded macros are stored in Normal.dot. in which case the other persons Normal will not have the macros. or the userform.
Reply With Quote
  #4  
Old 10-04-2013, 08:06 AM
slaycock slaycock is offline How do I save a Word file with a macro for distribution? Windows 7 64bit How do I save a Word file with a macro for distribution? Office 2013
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

The macro organiser allows you to copy from one document to another. If you don't want to use the organiser do it directly in the IDE.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I save a Word file with a macro for distribution? Macro to create new word doc and save the file using String found in the document VBNation Word VBA 2 02-08-2013 07:14 AM
How do I save a Word file with a macro for distribution? A newbie question: a must to save macro word file as .docm? tinfanide Word VBA 6 12-06-2011 03:02 PM
How do I save a Word file with a macro for distribution? NEED macro to save word doc as pdf socrates01 Word 3 07-11-2011 05:12 AM
How do I save a Word file with a macro for distribution? Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Macro will not save to normal.dot file when exiting bobbraun Word 1 09-28-2010 06:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:37 AM.


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