Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2011, 12:47 PM
mbesspiata mbesspiata is offline Macro Windows 7 32bit Macro Office 2007
Advanced Beginner
Macro
 
Join Date: Mar 2011
Location: Virginia
Posts: 57
mbesspiata is on a distinguished road
Default Macro


Once a macro is created, where is it stored on the computer? I need to copy one I created and send it to another person here at work.

Mike
Reply With Quote
  #2  
Old 03-17-2011, 09:58 AM
Ulodesk Ulodesk is offline Macro Windows 7 32bit Macro Office 2007
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Macro

The problem you might have at work, is that some networks are secured in such a way that macros will not transfer over the them in documents. Therefore, it may be simplest to copy the macro coded directly.

Word stores macros in doucments and templates; the default sends a new macro to the Normal template, Normal.dotm. There are various ways to share macros. Here's one:

With Word open, when you press Alt plus the F11 key, the Visual Basic editor will open, and you can copy any macro from there. Look in the top left-hand panel called Project, and double-click on the icon to the left of New Macros, which may be concealed at first in the Modules folder (double-click to open folder, as usual). This should show your macros in the right-hand pane, unless you hgave stored them elsewhere. You need to select, beginning with the line that starts with "Sub" and includes the name of your macro, down to where you see the line "End Sub", before the horizontal line (if there is one). Copy this and paste it into an email or Word document to send your friend. He or she can then copy the same code, open the editor as you did, and paste the macro at bottom of the list,being sure to click on the familiar Save icon before exiting.

Best,
Ulodesk
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
need a macro that does the following atomsk Word VBA 0 07-05-2010 07:29 AM
Macro Need help with macro Silence Word VBA 1 06-17-2010 02:58 PM
Please help Jarrod Word 1 06-05-2010 06:31 AM
I need a macro, who can help me? Bahir Barak Word VBA 1 05-26-2010 12:24 AM
Macro help NEHicks503 Excel 0 04-16-2010 07:29 AM

Other Forums: Access Forums

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