Question: how to turn off alerts excel vba?
Answer: Option Explicit.
Sub SubRoutineSample()
Application. DisplayAlerts = False.
' complex.
' macro.
' function.
' goes here.
Application. DisplayAlerts = True.