Results 1 to 2 of 2
  1. #1
    jaeapla is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2013
    Location
    Atlanta, GA
    Posts
    12

    Get rid of "SAVE CHANGES Save your changes to the server. [Save to SharePoint Site]"-Yellow Banner

    I use the switchboard form, so the easiest thing to do is to open the switchboard form in Design View (or whatever Form you automatically use when you open Access) and click on Property Sheet. Go to 'On Load' under Event tab and click the three dots[...]. Then insert the code below (make sure Private Sub and End Sub are not duplicated). Save the form and when you open the Access program the next time, the "SAVE CHANGES Save your changes to the server. [Save to SharePoint Site]" - Yellow Banner should be gone.

    Code:


    Code:
    Private Sub Form_Load()
    'This gets rid of the "SAVE CHANGES  Save your changes to the server. [Save to SharePoint Site]" yellow banner
       On Error Resume Next
       CurrentDb.Properties.Delete ("PublishURL")
    End Sub

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,740
    Good to know. This is rare but I have seen it a couple of times.
    OP is talking about getting rid of this:

    Click image for larger version. 

Name:	savechanges.png 
Views:	20 
Size:	26.0 KB 
ID:	50480

    The provided code line can also be executed in the immediate window once. No need to execute at every DB opening.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-06-2020, 02:26 PM
  2. Replies: 7
    Last Post: 08-07-2020, 11:04 AM
  3. Replies: 3
    Last Post: 02-13-2019, 01:49 AM
  4. Replies: 1
    Last Post: 05-09-2017, 10:34 AM
  5. Replies: 3
    Last Post: 09-27-2015, 12:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums