How to share the macro

NewExcelBoy

New Member
Joined
Jan 6, 2014
Messages
17
Hi all,

How do I share a macro(s) to other users so they can use it? Each user has different location because we are working remotely.

Thank you all
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi NewExcelBoy - Welcome to the forum. There are many ways to share macros. (a few are listed below)

1. Copy the macro code and send everyone the macro and have them add it to a module in the VBA editor (opened with Alt + F11)
From the opening Sub to the closing End Sub (See code below)
2. If you have a shared network, you can create a shared .xlsm file and include the macro(s) in that file that everyone can access.
3. You could use something like Dropbox.com to share a .xlsm file containing macro(s)

Hope this helped,

Happy Excelling :),

goesr



Code:
Sub NewExcelBoy_Share_Me()
'This is a sub that can be shared
    Cells(1, 1).Select
    Cells(1, 1).value = "Shared Macro"
    
    MsgBox ("I shared a Macro!!")
End Sub
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top