Excel cannot access 'ExcelVB'
What does Excel mean by 'ExcelVB'?
Background: I had split up an existing .xlam add-in, and I did that similar to the way described at https://trumpexcel.com/excel-add-in/. But now, whenever I open Excel, it gives me two consecutive “Exclamation” messages:
Quote:
Excel cannot access 'ExcelVB'. The document may be read-only or encrypted.
101070
Quote:
'ExcelVB' cannot be accessed. The file may be corrupted, located on a server that is not responding, or read-only.
100101
Also, when I open a spreadsheet that contains a function defined in that module and recalculate the cell that contains it, it displays "#NAME?", while the function name is prepended with "'<absolute path to xlam>'!", where the absolute path is C:\Users\<my_name>\AppData\Roaming\Microsoft\AddIns. I had added a reference to that path to the spreadsheet (in VBA editor) and saved the file explicitly (from the VBA editor), but it is not displayed anymore on reopening.
On startup, Excel complains about accessing a path that's none of its business.
Update: It turns out, “ExcelVB” is a name I used, but not for a “document” or “file”, as the error messages say: It's the name of a folder, namely the parent folder of the folder into which I exported the code of M1 per step 1 in my list of yesterday, 08:53 AM.
Still no indication where Excel gets that reference from, and what it tries to do with that folder that's so important that it warrants two error messages. The folder should be none of Excel's business; it doesn't contain anything that it would need on startup.
I renamed the folder and Excel updates both its error messages. Rebooting didn't help. The only thing I can think of that I haven't tried is reinstalling Excel, but I'd rather understand this mystery.