Closed Thread
Results 1 to 7 of 7

cannot run the macro may not be available in this workbook

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    2

    cannot run the macro may not be available in this workbook

    After creating and assigning macro buttons i keep getting cannot run the macro may not be available in this workbook or all macros may be disabled.

  2. #2
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: cannot run the macro may not be available in this workbook

    you most likely have macros disabled. to enable them go to the developer tab, macro security and enable macros

  3. #3
    Registered User
    Join Date
    07-12-2010
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: cannot run the macro may not be available in this workbook

    i have tried eneabling it and its still not working

  4. #4
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: cannot run the macro may not be available in this workbook

    launch visual basic edit (in developer tab) and check if your code is in a sheet or module contained in the file you are working with

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: cannot run the macro may not be available in this workbook

    Have you declared the Procedures as Private?

    Try attaching the workbook
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    08-23-2011
    Location
    Flint, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: cannot run the macro may not be available in this workbook

    I was having the same issue with many macros . I found that removing any underscore in the macro name cured the issue. Instead of Macro_one I used MacroOne and then they worked. Hope this helps.

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: cannot run the macro may not be available in this workbook

    Probably solved or given up by now!

Closed 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