0

So at the moment I have a macro that creates a series of pdf files and saves them in a folder, and it works fine but when I do "ScreenUpdating off" then every time a file is being saved a Bar showing that the file is being saved is opened and it does not close on its own.

I already tried doing

 Application.DisplayAlerts = False

but it does not solve the issue, the bar still appears for each file and it wont close

Note:

I just tried

Application.DisplayStatusBar = False

but its not working either

enter image description here

sam0406
  • 25
  • 5

1 Answers1

0

Maybe try to add this :

With Application.DisplayAlerts = False               
     alerts.AlertBeforeOverwriting = False 
     alerts.ScreenUpdating = False

I bet that the alert you have is an overwriting alert so it might fix you issue.

TourEiffel
  • 4,034
  • 2
  • 16
  • 45