View Single Post
 
Old 10-28-2021, 12:44 PM
tanko tanko is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2021
Posts: 17
tanko is on a distinguished road
Default Error: "File not found:"

My code just started throwing this error today. It simply went from working to not working, without a restart and I believe without even having closed Word. Now every macro I try to run gets a prompt reading "File not found:" Weirdly, there's a colon, but no designation of what file is not found.

It looks like I [sometimes] don't get the error when I run the code from within the VB editor, but the error shows when I try to click one of my buttons, which suggests maybe the problem is within my CustomUI? But I can't understand why it would come out of nowhere.

Weirder still: I can get my buttons to work if I have closed Word and opened up my global template, and then open my document. But if I open the document first, the code won't run even from within the VB editor.

Any ideas?
Reply With Quote