One day it worked. Then next day it didn’t.
I didn’t make any changes to the code.
Is this possible or is it due to excel upgrade or a local setting on my pc.
Application.Worksheets(“Imported data”).Protect(964257816,False,False,False,True,False,False,False,False,False,False,False,False,False,False,False)