+ Reply to Thread
Results 1 to 8 of 8

Enable macro on excel spreadsheet

  1. #1
    Registered User
    Join Date
    02-14-2008
    Location
    South Africa, Pretoria
    MS-Off Ver
    2010
    Posts
    47

    Enable macro on excel spreadsheet

    Hi Folks,

    I have seen previous posts to remedy the problem of the "macro not available in this workbook, or macro's not enabled"

    However despite making the required corrections in the trusted sections, the problem still remains.

    I would appreciate your support in reply
    Regards
    Rob

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Enable macro on excel spreadsheet

    You would have to supply some more information

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Enable macro on excel spreadsheet

    You could press Alt-F11 to open the VBA Editor. See if the macro is present there.

    And you could try, in the Immediate Window, typing MsgBox "test" and pressing Enter to see if macros are enabled.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    02-14-2008
    Location
    South Africa, Pretoria
    MS-Off Ver
    2010
    Posts
    47

    Re: Enable macro on excel spreadsheet

    Thanks for the reply.

    If I select Alt+F11 a pop up screen appears, and the two modules, containing the macros, are present.

    I have run the macros individually and they do what is expected of them.

    However when trying to get the "OnAction" function of the icon to open the macro, I get the error, macro not enabled or not available in this workbook.

    I have gone through the options presented in the Trust Center Setting, to no avail.

    I hope this provides more clarity

  5. #5
    Registered User
    Join Date
    02-14-2008
    Location
    South Africa, Pretoria
    MS-Off Ver
    2010
    Posts
    47

    Re: Enable macro on excel spreadsheet

    Hi, I have included some additional information below.

    Please advise if you require more, and if you can be a bit more specific

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: Enable macro on excel spreadsheet

    Remember what the dormouse said
    Feed your head

  7. #7
    Registered User
    Join Date
    02-14-2008
    Location
    South Africa, Pretoria
    MS-Off Ver
    2010
    Posts
    47

    Re: Enable macro on excel spreadsheet

    HI TMS,

    I have typed the MsgBox 'test", and used the run opiton - both macros appear as being on th eVBA Project

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Enable macro on excel spreadsheet

    Looking at your cross post, looks like your macro is called macro_1 and you are calling macro1.

+ 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: 1
    Last Post: 03-18-2019, 09:09 AM
  2. [SOLVED] Excel 2016: enable macros on spreadsheet startup
    By Napoleon Dynamite in forum Excel General
    Replies: 3
    Last Post: 03-25-2017, 07:46 PM
  3. [SOLVED] How to save macro enable file without selecting macro enable option?
    By Imran Magsi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2016, 02:37 AM
  4. Replies: 1
    Last Post: 01-29-2015, 12:36 PM
  5. macro to open excel file with auto macro enable
    By jamewoong in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-14-2014, 10:44 AM
  6. Automatically Enable Macro for Single Spreadsheet
    By nocode in forum Excel General
    Replies: 1
    Last Post: 09-28-2011, 12:40 PM
  7. Replies: 1
    Last Post: 07-01-2005, 07:05 PM

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