View Single Post
 
Old 05-28-2024, 05:59 AM
randyspaulding12 randyspaulding12 is offline Windows 11 Office 2021
Novice
 
Join Date: May 2024
Posts: 9
randyspaulding12 is on a distinguished road
Default Copy/Paste of unmodified VBA Code in Word returns an error

Hello, I copy and pasted sample VBA code from CoPilot into Word as a macro and tried running it but received the attached error message. I am starting here because it seems every time I copy and paste VBA code snippets into my Word document I get either the attached error or (more frequently) a run-time error 13 type mismatch, without modifying any of the sample code. I am guessing it is some simple universal setting that I am doing wrong???
Attached Images
File Type: jpg Screenshot 2024-05-28 075723.jpg (112.3 KB, 20 views)
Reply With Quote