+ Reply to Thread
Results 1 to 4 of 4

Suppress "Read Only" Dialogue in a Macro?

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Suppress "Read Only" Dialogue in a Macro?

    Hey all =D Is there any way to suppress a read only dialogue (simply clicking "OK") that pops up on a macro run? I have a macro that imports data from a shared file, so when the macro is run it is normally open by other users. Clicking OK manually works and runs the required macro but I was wondering if there was a way to add the clicking OK in the macro itself?

    Here's the macro
    Please Login or Register  to view this content.

  2. #2
    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,463

    Re: Suppress "Read Only" Dialogue in a Macro?

    You could try
    Please Login or Register  to view this content.
    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


  3. #3
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Suppress "Read Only" Dialogue in a Macro?

    Well that was simple - works perfect thank you

  4. #4
    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,463

    Re: Suppress "Read Only" Dialogue in a Macro?

    You're welcome. Thanks for the rep.

+ 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: 01-09-2019, 02:15 PM
  2. VBA to click the "Open" or "Save" button in Internet Explorer Dialogue Box
    By kimvyp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2019, 12:22 AM
  3. [SOLVED] Force "Read Only" only in original spreadsheet - NOT in resultant "saved as" spreadsheets
    By xdrenched in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2016, 01:11 PM
  4. [SOLVED] "Read" the column header "Element" and perform calculation
    By dwsf in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-15-2015, 01:41 AM
  5. "File name" in "Save As" dialogue blank
    By Minor7th in forum Excel General
    Replies: 2
    Last Post: 08-23-2011, 10:31 PM
  6. Open "Save As" dialogue with "xls" as the default
    By whatsthatbeeping in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 01-18-2011, 11:19 AM
  7. Replies: 0
    Last Post: 01-04-2006, 06:55 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