+ Reply to Thread
Results 1 to 2 of 2

Move or copy macro from Personal.xlsb to workbook

  1. #1
    Registered User
    Join Date
    11-18-2011
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2016
    Posts
    31

    Move or copy macro from Personal.xlsb to workbook

    I have a very complicated macro saved to my personal.xlsb that I want to copy into a workbook which would allow me to send the workbook to another user and they can use the macro also. Can the macro be copied into the workbook or do I have to re-build it?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Move or copy macro from Personal.xlsb to workbook

    Hi,

    Yes you can just copy the macro text and paste it into any other workbook.
    If it's the only macro in the module then you could export the module with File Export in the VBE, and then in the other workbook File Import.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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