+ Reply to Thread
Results 1 to 2 of 2

can't see macro moved from workbook into personal.xlsb

  1. #1
    Forum Contributor
    Join Date
    02-13-2016
    Location
    CT USA
    MS-Off Ver
    office 365 subscription
    Posts
    178

    can't see macro moved from workbook into personal.xlsb

    can't see macro moved from workbook into personal.xlsb

    I am using W10 and excel 365 home subscription

    I created an excel vba module in a workbook, A, and tested it out using debug.

    The module consists of a private subroutine that tests out a custom public function.

    While the code works just fine in the VBE environment, I do not know how to make the worksheet in which the module is in "see" the custom function. How do I do that?


    Secondly, I want to move the module into personal.xlsb as I could use this code in other worksheets once i learn how to make the worksheet see the macro.


    I created the personal.xlsb (as i did not have one) by creating a null macro.

    I can see the personal.xlsb in my Project VBA editor within workbook A

    So...I left clicked and dragged the module from A into the Personal.xlsb
    folder under the modules folder.

    But if i get out of the VBA editor and go to the excel spreadsheet and
    click on "macro" in the code section of the developer ribbon, I do not see the vba macro when I click on the drop down list box and select macros in Personal.xlsb

    I must be doing something incorrectly. any ideas?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: can't see macro moved from workbook into personal.xlsb

    Private functions are never visible, you would need to remove the PRIVATE reference for them to be visible from the personal workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. [SOLVED] Call a Macro in the Active Workbook from a Personal.xlsb procedure [RESOLVED]
    By Seke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2015, 06:17 AM
  2. [SOLVED] Personal.XLSB macro pasting into Personal.XLSB
    By davepoth in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2015, 07:40 PM
  3. Running a Personal.XLSB Macro From Within Another Personal.XLSB Macro
    By js0873 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-23-2015, 09:58 AM
  4. Replies: 0
    Last Post: 01-15-2015, 05:53 AM
  5. Add procedure to PERSONAL.XLSB with a macro from another workbook.
    By dimattia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2013, 10:21 AM
  6. Run-Time Error 1004 When Running Macro from Another Personal Workbook (xlsb)
    By vcs1161 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2013, 12:05 PM
  7. Move or copy macro from Personal.xlsb to workbook
    By kazphilips in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2012, 05:26 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