Results 1 to 3 of 3
  1. #1
    SCFM is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Feb 2010
    Posts
    13

    Read-only Excel file after using TransferSpreadsheet Method

    After exporting a query to an existent [Compatibility mode] Excel file, using DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,...and opening the Excel file with
    .Workbooks.Open(...., , true) I'm getting a [read-only] [Compatibility mode] Excel file. Is there a way to get a only [Compatibility mode] file?


    Thanks

  2. #2
    SCFM is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Feb 2010
    Posts
    13
    Quote Originally Posted by SCFM View Post
    After exporting a query to an existent [Compatibility mode] Excel file, using DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,...and opening the Excel file with
    .Workbooks.Open(...., , true) I'm getting a [read-only] [Compatibility mode] Excel file. Is there a way to get a only [Compatibility mode] file?
    Thanks
    Ok. I already solved this. To open the Excel file as only [Compatibility mode] just use False instead of True in .Workbooks.Open().

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for sharing your solution.

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

Similar Threads

  1. #Num, Linked Excel File
    By Rick West in forum Import/Export Data
    Replies: 5
    Last Post: 02-04-2010, 10:50 AM
  2. Linking Excel file problems
    By KevinH in forum Import/Export Data
    Replies: 1
    Last Post: 12-20-2009, 09:28 AM
  3. Replies: 1
    Last Post: 03-25-2009, 02:20 PM
  4. cmd to print/view an MS-Excel file
    By gkast in forum Forms
    Replies: 0
    Last Post: 11-23-2008, 07:39 PM
  5. Replies: 2
    Last Post: 10-19-2006, 04:37 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