Results 1 to 4 of 4
  1. #1
    MonicaMe is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2013
    Posts
    2

    From access 2003 to access 2007 issues with a module

    Hi I'm completely new of this forum and I'm looking for a solution on an access module I use now on 2003 version but that does not work in 2007.

    each time I try to run it it gives me a compile error "method or data member not found"

    Set OggettoGrafico = PrimaSlide.Shape.AddOLEObject(80, 80, 560, 400, "Excel.sheet", , msoFalse, , , , msoFalse)

    and .shape is highlighted.

    The complete module open a query create a predefined exce chart and put it in a powerpoint slide

    is it possible for you to give me a suggestion? did something changed from 2003 to 2007? I'm not a programmer I'm only an "upgraded" user and an help from your side will be highly appreciated

    Thanks!

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I am guessing that the database may use a special Reference Library that needs to be selected in Access 2007 also.

    The easiest way to open the database where it does work, then go to the VB Editor, go to the Tools menu and select References. Note all the different references that are selected.
    Then go to the computer you are trying to run it on in Access 2007, and go to ther same place and note all the references selected. If any are missing, go down the list, find it, and select it (note the version number may be higher, but it should essentially have the same name).

  3. #3
    MonicaMe is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2013
    Posts
    2
    Hi Joe,
    Thanks!!!!!!!!!
    I checked and now it works, many many thanks for your help

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Your welcome. Glad it worked out for you!

    You can mark the thread as solved as described here: https://www.accessforums.net/forum-s...lved-1828.html

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

Similar Threads

  1. Replies: 1
    Last Post: 02-05-2013, 12:11 PM
  2. Access 2003 - cascading combo box issues
    By agripa86 in forum Access
    Replies: 1
    Last Post: 08-12-2011, 06:20 AM
  3. import excel file to access 2003 yes, access 2007 no
    By stapik in forum Import/Export Data
    Replies: 9
    Last Post: 07-27-2011, 07:09 AM
  4. Replies: 2
    Last Post: 06-18-2011, 09:55 AM
  5. Replies: 2
    Last Post: 05-19-2010, 02:01 PM

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