+ Reply to Thread
Results 1 to 2 of 2

Enable macros when file open.

  1. #1
    Forum Contributor ebin charles's Avatar
    Join Date
    03-31-2010
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    255

    Enable macros when file open.

    Dear All,

    My excel file shows macro notification that Macros are disabled. For more information see attached picture.

    I need to open my file with macro activate in any computer. I should not see such notification in any pcs.
    When this files is opened the macro should be activate automatically and should open.

    Even if other user pcs macro disabled, when he/she tries to open this file, the macro should be enable automatically and should not see
    such notification.

    Is there any such vba code for "Worksheet_Open"? or any other help please..

    Regards,
    ebin charles
    Attached Images Attached Images

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Enable macros when file open.

    No, there is no way you can circumvent this.

    However, Chip Pearson describes a technique on his website here:

    http://www.cpearson.com/excel/EnableMacros.aspx

    where you can make a workbook unreadable unless macros are enabled, thus "forcing" the user to enable macros in order to be able to use your file.

    Hope this helps.

    Pete

+ 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. Enable Macros on Open
    By OptionTrader in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2010, 01:38 PM
  2. Open excel AND enable macros with .bat file?
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2009, 01:50 PM
  3. How do I enable macros in an open file?
    By Kevin in forum Excel General
    Replies: 1
    Last Post: 03-15-2006, 12:45 PM
  4. How can force enable macros to be able to open my workbook?
    By kcdonaldson in forum Excel General
    Replies: 3
    Last Post: 12-05-2005, 02:20 PM
  5. [SOLVED] Don't open file if no response to enable macros
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2005, 04:05 AM

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