Can't find the VbaProject.OTM file :(

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I wrote a program for outlook, in vba, and I want to put it on different
computers.
I usually put it in here:
C:\Documents and Settings\Yonina\Application Data\Microsoft\Outlook\VbaProject
but not all the computers contain the file "Application Data" :(
I think it is because the others are XP and I am using regular windows?
How can I put the program on the other computers?
 
For Windows NT, 2000, XP you can read the registry at
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\AppData to get the path you want. Then append
"\Microsoft\Outlook\VBAProject.OTM" to that path from the registry.

Doing that will overwrite any macros those people have created, so it's not
the optimal solution for distributing code.
 
Those people don't use macros at all! that is why I want to put it in
"\Microsoft\Outlook\VBAProject.OTM". but as I said, they don't have that
file. I will check what you said.
 
Back
Top