+ Reply to Thread
Results 1 to 2 of 2

Can I get the macro to automatically select NO?

  1. #1
    Forum Contributor
    Join Date
    10-16-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    257

    Can I get the macro to automatically select NO?

    Hi
    I have the below macro to let only certain users modify a workbook, and the rest read-only.
    However, there are several computers within the business with a standard login called "Boxroom" which, would shutdown the workbook if this user has opened it.
    But when this user has opened it, it gives the warnings etc, and the last message says: "Do you want to save the changes to........" and gives the options, YES,NO,CANCEL.
    Can I get this to automatically select NO? Because if they select Cancel, it will stay open as read only.

    Please Login or Register  to view this content.

    Many Thanks

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Can I get the macro to automatically select NO?

    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. [SOLVED] Macro to automatically select a range
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-16-2014, 06:55 AM
  2. Macro query - Automatically select yes
    By Andrew E Smith in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-27-2012, 09:27 AM
  3. Select next cell in Filter automatically by Excel Macro
    By sekar.suman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2009, 11:44 AM
  4. Select next cell in Filter automatically by Excel Macro
    By sekar.suman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2009, 10:50 AM
  5. How do I make a macro automatically select Yes when a yes/no box appears?
    By JasonK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2006, 09:55 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