+ Reply to Thread
Results 1 to 7 of 7

Inserting a macro for all workbooks to use

  1. #1
    Registered User
    Join Date
    10-04-2019
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    4

    Inserting a macro for all workbooks to use

    How do I make a macro available for all workbooks to use?

    I have the code that I paste in to an individual spreadsheet using the Alt F11 ---> Insert Module (paste in code).

    But the macro is only available for that workbook. How do I make this macro available for any workbook that I open up in the future?

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Inserting a macro for all workbooks to use

    This is what you are looking for: https://trumpexcel.com/personal-macro-workbook/
    Click the * to say thanks.

  3. #3
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Inserting a macro for all workbooks to use

    https://support.office.com/en-us/art...1-ae005a9bc790

  4. #4
    Registered User
    Join Date
    10-04-2019
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    4

    Re: Inserting a macro for all workbooks to use

    Thanks for your response but I wasn't able to get these to work. These steps have me recording the macro. I don't know exactly what the macro is doing in order to record it. All that I have is a word document with the macro code. I just want to be able to drop that code in somewhere and have it available for all workbooks. Thanks.

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Inserting a macro for all workbooks to use

    Follow the exact steps in there to create a personal.xlsb workbook. Just record something, no need to be important. Then replace that macro with yours and voila, you can use it in all workbooks

  6. #6
    Registered User
    Join Date
    10-04-2019
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    4

    Re: Inserting a macro for all workbooks to use

    Thank you. That worked! Now I understand!!

  7. #7
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Inserting a macro for all workbooks to use

    Glad I could help. If it took care of your problem, please mark the thread as Solved from Thread Tools.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 09-05-2017, 02:49 AM
  2. Inserting multiple columns of a fixed width into many workbooks
    By sirshad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2015, 11:43 AM
  3. Inserting Vlookup function in all workbooks
    By luckyros in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-27-2010, 12:23 PM
  4. inserting cells into a hyperlink, inserting link via macro
    By jackmc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2007, 12:02 AM
  5. Inserting rows in multiple workbooks
    By 50pingviner in forum Excel General
    Replies: 2
    Last Post: 12-21-2005, 11:15 AM
  6. [SOLVED] inserting a sheet into multiple workbooks
    By spence in forum Excel General
    Replies: 2
    Last Post: 12-19-2005, 04:20 PM
  7. [SOLVED] Inserting data from other workbooks
    By Jim at SDSU in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2005, 01:06 PM

Tags for this Thread

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