Forum Discussion
Excel macro not working after Windows update - Office 365
- Feb 01, 2021
Issue resolved after lots of searching on stackoverflow.
It seems that between Excel V1902 and V2002 a hidden variable _xlfn.SINGLE exists in the workbook. When the macro loops through, it sees the named range, cannot resolve its address or sheet location and stops. The hidden variable was only possible to see after running an additional macro to display hidden named ranges.
The fix was to include a loop to skip the named variable _xlfn* if found. Full detail and solution available on https://stackoverflow.com/questions/65947254/excel-macro-not-working-after-windows-update-office-365/65985711#65985711
Issue resolved after lots of searching on stackoverflow.
It seems that between Excel V1902 and V2002 a hidden variable _xlfn.SINGLE exists in the workbook. When the macro loops through, it sees the named range, cannot resolve its address or sheet location and stops. The hidden variable was only possible to see after running an additional macro to display hidden named ranges.
The fix was to include a loop to skip the named variable _xlfn* if found. Full detail and solution available on https://stackoverflow.com/questions/65947254/excel-macro-not-working-after-windows-update-office-365/65985711#65985711