I'm deleting some worksheets in VBA. Can anyone please tell me how toturn off the "do you realy want to do this" message please?
Just add Application.DisplayAlerts = False to your code. Just make sureyou add Application.DisplayAlerts = True to the end of your code or youwon't get warnings for anything at all the rest of the time you're workingin Excel.