Results 1 to 5 of 5
  1. #1
    AMRI YULIANDI is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2014
    Posts
    8

    export report to excel

    DoCmd.RunSavedImportExport "EXPORT-STARS"



    i have run this query on access 2003, and working fine.. but when im running on access 2007 i got a problem..
    here the error messagge..

    "run-time error '3044':
    'c:\Users\my\desktop\stars.xls' is not a valid path. make sure the path name is spelled correctly and that you are connected to the server on which the file resides.

    anyone can help me?
    thank before, i'm still newbie

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Did you check to verify that the file path really exists, i.e. can you browse to:
    Code:
    c:\Users\my\desktop
    ?
    Is your username really "my"?

  3. #3
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402
    Hi,
    you may need to allow the location as a trusted location/site.

  4. #4
    AMRI YULIANDI is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2014
    Posts
    8
    btw where can i change the path?

    newbie here..

    thank for the help..

  5. #5
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Not sure. I really don't used Saved Imports/Exports. You may just want to create a new one going to the correct place.

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

Similar Threads

  1. Unable to export a report to Excel
    By AlReid in forum Import/Export Data
    Replies: 1
    Last Post: 09-24-2014, 11:17 AM
  2. export report to excel
    By sdel_nevo in forum Import/Export Data
    Replies: 4
    Last Post: 07-10-2013, 09:19 AM
  3. Simple report export to excel
    By crombiecrunch in forum Reports
    Replies: 2
    Last Post: 05-30-2013, 09:10 AM
  4. Report export to Excel with format
    By mrswarrick in forum Access
    Replies: 3
    Last Post: 02-29-2012, 03:10 PM
  5. Report Export to Excel
    By BLD21 in forum Import/Export Data
    Replies: 1
    Last Post: 05-06-2011, 10:19 AM

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