A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

2007 looses VBA Code when trust center location not added



 
 
Thread Tools Display Modes
  #1  
Old September 13th, 2008, 07:21 PM posted to microsoft.public.access
BillieGoat
external usenet poster
 
Posts: 1
Default 2007 looses VBA Code when trust center location not added

I'm using 2 PCs. Both Vista. My 2nd PC seems to have corrupted my database
and lost the VBA code when I tried to open it without setting the location in
the trust center. Once it can't find the VBA the database seems to be
corrupted. I can't get it to work again. Switchboard doesn't work, none of
the buttons work. Anything that uses a module or code doesn't work.
It also did the same thing at a client who is running on Windows XP so the
problem seems to be in Access. I can see where it would ask you if you want
to run the database but this is corrupted now.
  #2  
Old September 13th, 2008, 08:12 PM posted to microsoft.public.access
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default 2007 looses VBA Code when trust center location not added

Try setting the Macro Security to Low:

Tools Macro Security

Then build a Trusted Location and set the security back on if you like.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"BillieGoat" wrote in message
...
I'm using 2 PCs. Both Vista. My 2nd PC seems to have corrupted my database
and lost the VBA code when I tried to open it without setting the location
in
the trust center. Once it can't find the VBA the database seems to be
corrupted. I can't get it to work again. Switchboard doesn't work, none of
the buttons work. Anything that uses a module or code doesn't work.
It also did the same thing at a client who is running on Windows XP so the
problem seems to be in Access. I can see where it would ask you if you
want
to run the database but this is corrupted now.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.