Results 1 to 10 of 10
  1. #1
    pawjer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    8

    VBA code missing in ACCDE - Access 2016

    Hi,

    I know this issue has been widely explained all over the Internet but despite all suggested steps, when saving file in ACCDE format, my destination file misses VBA code and modules.

    Steps I have already made:

    1. The directory in which both accdb and accde files reside is added to trusted directory.


    2. I have tried to compile DB with Debug->Compile option before converting to ACCDE but it seems it is already done as this option is greyed-out.
    3. I have used another machine with Access 2016 and I get exactly the same result.

    Has anybody any idea where I should also look for a solution? I hope it is so simple I cannot figure it out

    I will be very grateful for suggestions and ideas.

    Kind regards,

    Pawel

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The definition of accde is without code.

  3. #3
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    To be more precise, the code exists as compiled machine language/code and is no longer accessible. If you're saying you lost functionality (something no longer works) that is is a different matter.
    Last edited by Micron; 07-28-2017 at 12:25 PM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    pawjer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    8
    Sorry for being not enough precise.

    I do not expect ACCDE file to contain editable modules or vba code but I need the same DB functionality as it is in original ACCDB file. In my ACCDE file, everything that was written in VBA is not present in terms of functionality.

    Hope it explains my problem.

    Paweł

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    is the accde in a trusted location? have you allowed macros to run?

  6. #6
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Any error messages? Did you also switch to 64 bit OS?
    What happens to let you know you're missing functionality?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    pawjer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    8
    Quote Originally Posted by Ajax View Post
    is the accde in a trusted location? have you allowed macros to run?
    Yes it is. Doesn't help unfortunately.

  8. #8
    pawjer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    8
    Quote Originally Posted by Micron View Post
    Any error messages? Did you also switch to 64 bit OS?
    What happens to let you know you're missing functionality?
    No error messages. It is 64 bit OS, i.e. Windows 10.

    The problem is that vb code put in accdb does not work after exporting to accde.

  9. #9
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Does code contain external library calls (e.g. API calls) and if so, we're they adapted for 64 bit? Research ptr safe for examples and how to code for this.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  10. #10
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    if you open the accde, can you see the forms, reports and modules in the navigation window? If so, what happens when you open the main navigation form?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Upgrade accde from 2013 to 2016
    By aldol in forum Access
    Replies: 1
    Last Post: 03-25-2017, 04:19 AM
  2. Replies: 4
    Last Post: 02-03-2017, 02:34 PM
  3. Calendar control is missing in Access 2016
    By RogerAnnArbor in forum Programming
    Replies: 9
    Last Post: 01-19-2017, 05:12 PM
  4. Replies: 2
    Last Post: 11-02-2016, 11:41 AM
  5. Replies: 3
    Last Post: 10-02-2014, 12:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums