Q:

Word VBA getting Project is Unviewable error

When I try to edit or step into my VBA code for debugging purpose I get "Project is Unviewable". I have created .dotm file at location (C:\Users\UserName\AppData\Roaming\Microsoft\Word\STARTUP).

A:

When launched automatically at startup the VBA project in .DOTM files are not viewable. I couldn't find this clearly documented by Microsoft but I tested/replicated it across multiple OS and versions of Office to conclude it was "by design"
There is some ways around it:
Option #1
Copy template OUT of Start Up Folder, right click file and select "Open" You can debug it.
Option #2
Ensure you have write permission to file in startup folder. Even if you are Admin, if UAC is ON you won't have access - grant your user "full control" or "write access to file" to DOTM file in startup folder.
Close all instances of Word, right click .DOTM file and Open, you can now debug it.
However you can't save changes - to save changes you must grant permissions for the user to write to the STARTUP folder.

