I am getting the following error Method 'Worksheets' of object '_Global' failed when I step through my macro in Excel. On my local desktop I have no issues. But when I post this Excel file on my website, I get the error.
So the macro is running erratically. Please go to click Yes to allow macros and then go to the Visual Basic Editor and step through the macro. At the set sortselection line I get the error.
So the macro is running erratically. Please go to click Yes to allow macros and then go to the Visual Basic Editor and step through the macro. At the set sortselection line I get the error.