PDA

View Full Version : Solved: Moving VBAProject.otm



PMHCSLtd
09-18-2006, 06:32 AM
Is it possible to move the file VBAProject.otnm to a different folder than is default?

If so how! :dunno

mvidas
09-18-2006, 07:32 AM
Unfortunately I don't think you can change this, unless you change where the appdata environmental variable points to. In any case it would still be at %appdata%\microsoft\outlook\vbaproject.otm
The only workaround is to use the /altvba commandline switch to specify where you want, like:
outlook.exe /altvba C:\alternate.otm

You can change the outlook shortcut to use this, change it from something like
"C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE"

To
"C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE /altvba C:\foldername\another.otm"

But there doesn't appear to be a registry or options setting for this file, at least that I could find.
Matt

PMHCSLtd
09-18-2006, 07:43 AM
That is perfect, thank you!

mvidas
09-18-2006, 09:08 AM
Glad to help! Strange it isn't changeable..
I do only have outlook2000 so maybe in future versions it is