Does the the macro work except for the error?
If so, try puttingat the very begining. Just be sure to switch it back to true at the very end.Application.DisplayAlerts = False
Edit: I wasn't paying attention and typed the wrong funtion. Try the updated one.
Bookmarks