Results 1 to 12 of 12

How to avoid the hold shift command to unable startup macros?

Threaded View

  1. #1
    Registered User
    Join Date
    01-11-2020
    Location
    Norway
    MS-Off Ver
    Microsoft Office 2019
    Posts
    74

    How to avoid the hold shift command to unable startup macros?

    Hi,

    So, I have an excel file that opens if a certain filepath on the computer is valid. If it is not valid the excel file will automatically close.

    This code is dependent on the startup macro of the file.

    I just realized that if someone opens the file while holding down shift, they unable this command completely and may use the file however they want.

    Is there any way to avoid this? I mean, I thought about starting a timer as well that search for the file every 5 minutes, but that timer is also dependent on the startup macro.

    Any way I can make my sheet more bulletproof and maybe avoid this silly shift-command trick?
    Last edited by -Citizen; 02-24-2022 at 03:31 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Unable to run startup Macro in Excel 2007
    By MartinShort in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-12-2012, 06:57 AM
  2. Macro - Hold view and avoid confirm delete message
    By anmck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2009, 01:06 PM
  3. No Macros; startup message
    By baribill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2007, 11:35 AM
  4. Replies: 8
    Last Post: 07-22-2006, 11:25 PM
  5. Command Line Startup Switches
    By OldManEd in forum Excel General
    Replies: 1
    Last Post: 02-08-2006, 06:55 PM
  6. [SOLVED] SHIFT doesn't prevent macro from running at startup
    By Jarryd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2005, 05:30 PM
  7. [SOLVED] Unable to load files from alternate startup folder
    By Bill.Carlson in forum Excel General
    Replies: 3
    Last Post: 11-24-2005, 11:40 AM
  8. Command.bar@startup
    By Zurn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2005, 06:32 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