Results 1 to 4 of 4
  1. #1
    3 Star Lounger Jimmy-W's Avatar
    Join Date
    Jan 2001
    Location
    Helena, Montana, USA
    Posts
    220
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Getting VB Modules to macro list - Excel 2010

    I have a few VB modules in my Personal.xlsb file. However, they don't appear in my Macros list in my workbooks. How do I get the module names into the macro list, so that I can run them more easily from my workbooks? Thanks.
    JimmyW
    Helena, MT

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Jimmy,

    They should already be there. I don't have 2010 but in 2007 which is almost the same they show up when I press Ctrl+F8. Now I do have my Personal workbook saved as an .xls file since I share it between 2007 on my laptop and 2003 on my desktop.
    Attached Images Attached Images
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  3. #3
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts
    A few possible reasons why your macros might not be listed:
    1. They are not in normal modules but in worksheet or ThisWorkbook modules.
    2. They are marked Private Sub
    3. Your modules have Option Private Module at the top
    4. Your personal.xlsb file has its IsAddin property set to True
    5. The personal.xlsb file is not currently open.
    6. The macros take arguments.
    7. You have the 'Macros in' dropdown set to a specific different workbook.
    Regards,
    Rory

    Microsoft MVP - Excel

  4. The Following User Says Thank You to rory For This Useful Post:

    RetiredGeek (2011-09-30)

  5. #4
    3 Star Lounger Jimmy-W's Avatar
    Join Date
    Jan 2001
    Location
    Helena, Montana, USA
    Posts
    220
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Thanks, guys. I think it's that the "missing" modules take arguments, i.e., cell references, like =abc(a1). All of the modules are in Personal.xlsb.
    JimmyW
    Helena, MT

Posting Permissions

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