View Single Post
 
Old 08-06-2024, 08:30 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Can you try this...
Application.DisplayAlerts = False

For example
Code:
Private Sub MacroName()
  Application.DisplayAlerts = False
  'Function causing the alert goes here (eg opening the document)
  Application.DisplayAlerts = True   'restore normal behaviour
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote