+ Reply to Thread
Results 1 to 4 of 4

Share custom macros with others?

  1. #1
    Registered User
    Join Date
    10-20-2006
    Posts
    4

    Question Share custom macros with others?

    I've built some custom macros that I'd like to be able to share with a co-worker to save time. Is there an easy way to send him my macros and possibly buttons I've assigned them to?

    I think I can just cut and paste the code into an email and then have him do the same but I'm assuming there has to be a much simpler way of doing this.

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    In the project window, right-click on the specific module, class module, form, etc., and select Export. Then email the file to your buddy and have him import it the same way (right-click on a project and select Import).

    This won't work for command buttons, etc., that you have designated to certain workbooks, though. He will have to create his own.

  3. #3
    Registered User
    Join Date
    10-20-2006
    Posts
    4

    Question Sharing macros

    I'm not sure what you mean by project window. Sorry for my lack of understanding.

    They are saved in my personal workbook as my custom macros, but I can't figure out how to export.

  4. #4
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    Hi Bluff,

    You have a couple of options.

    The option I use: I assume the macros are in a Module. If you are looking at the code (which means the "the right" Module has focus in the VBE), then, go to the menu in the VBE and choose File >> Export.

    This create a small file, which your friend(s) can use File >> Import to import to their workbook(s).

    The other option ... the one that Jason was recommending ... ends up in the same place. But, you start by selecting the Module in the little window that looking like Window explorer (little folders and such), called the Project Explorer Window. If you're not sure it's visible, then from the VB Editor menu select View >> Project Explorer. From that window, you find the Module you want and right-click. One of the selections in the Context menu will Export the module.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1