Turn on the macro debugging option by running this line of code.

 

options mprint;

 

Then run the code again and copy the log as text and paste it into the window that appears when you click on the </> icon.

PaigeMiller_0-1663012019648.png

 

In the future, please do not show us errors without the rest of the log. Errors detached from the code that created it are not helpful.

--
Paige Miller