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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VBA code does not work when using accde file



 
 
Thread Tools Display Modes
  #1  
Old October 1st, 2008, 11:14 PM posted to microsoft.public.access.tablesdbdesign
oracle8202
external usenet poster
 
Posts: 11
Default VBA code does not work when using accde file

Does anybody know why all vba code would stop working after converting an
Access 2007 accdb file to accde format? I have looked around for several
hours but I cannot find out why this would be. It appears from Microsoft’s
help topics that the code is compiled and un-editable but should still run.
I have added the directory containing the accde file to my trusted
directories but this does not work. Anybody have any ideas on how to fix
this? Thank you.

  #2  
Old October 2nd, 2008, 01:58 AM posted to microsoft.public.access.tablesdbdesign
Steve[_57_]
external usenet poster
 
Posts: 598
Default VBA code does not work when using accde file

Just a guess but did you put the accde file in a "trusted" folder like you
have to do when you create a new accdb file?

Steve


"oracle8202" wrote in message
...
Does anybody know why all vba code would stop working after converting an
Access 2007 accdb file to accde format? I have looked around for several
hours but I cannot find out why this would be. It appears from Microsoft's
help topics that the code is compiled and un-editable but should still
run.
I have added the directory containing the accde file to my trusted
directories but this does not work. Anybody have any ideas on how to fix
this? Thank you.



  #3  
Old October 2nd, 2008, 03:53 PM posted to microsoft.public.access.tablesdbdesign
oracle8202
external usenet poster
 
Posts: 11
Default VBA code does not work when using accde file

Thank you for your reply. I sure did. I have found some threads mentioning
this issue but I have not found any that had a solution.

"Steve" wrote:

Just a guess but did you put the accde file in a "trusted" folder like you
have to do when you create a new accdb file?

Steve


"oracle8202" wrote in message
...
Does anybody know why all vba code would stop working after converting an
Access 2007 accdb file to accde format? I have looked around for several
hours but I cannot find out why this would be. It appears from Microsoft's
help topics that the code is compiled and un-editable but should still
run.
I have added the directory containing the accde file to my trusted
directories but this does not work. Anybody have any ideas on how to fix
this? Thank you.




  #4  
Old October 2nd, 2008, 05:17 PM posted to microsoft.public.access.tablesdbdesign
oracle8202
external usenet poster
 
Posts: 11
Default VBA code does not work when using accde file

Just an update, out of desperation I have tried signing the database with a
certificate and I have tried disabling the sandbox. Neither have worked.

"oracle8202" wrote:

Does anybody know why all vba code would stop working after converting an
Access 2007 accdb file to accde format? I have looked around for several
hours but I cannot find out why this would be. It appears from Microsoft’s
help topics that the code is compiled and un-editable but should still run.
I have added the directory containing the accde file to my trusted
directories but this does not work. Anybody have any ideas on how to fix
this? Thank you.

  #5  
Old October 2nd, 2008, 05:50 PM posted to microsoft.public.access.tablesdbdesign
oracle8202
external usenet poster
 
Posts: 11
Default VBA code does not work when using accde file

Okay I have finally figured it out. You have to choose "Debug-Compile" from
the VBA editor and then create the accde file. I found the solutions on the
threads below.

http://www.tek-tips.com/viewthread.c...1482768&page=2

http://www.utteraccess.com/forums/sh...sb=5& o=&vc=1

"oracle8202" wrote:

Does anybody know why all vba code would stop working after converting an
Access 2007 accdb file to accde format? I have looked around for several
hours but I cannot find out why this would be. It appears from Microsoft’s
help topics that the code is compiled and un-editable but should still run.
I have added the directory containing the accde file to my trusted
directories but this does not work. Anybody have any ideas on how to fix
this? Thank you.

 




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 04:02 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.