I have a macro which worked well for a year or so. It suddenly started giving an error and I can\'t understand what might have happened.
This is the code: