+ Reply to Thread
Results 1 to 4 of 4

Thread: Output issue Access 2007

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Staten Island, NY
    MS-Off Ver
    Excel 2003
    Posts
    25

    Output issue Access 2007

    DoCmd.OutputTo acOutputQuery, "Knight Compare", acFormatXLSX, "c:\apps\xp\Desktop\Project File\EXCEL FILES\Output Folder\Knight \Knight.xlsx", False

    Looks like ur basic output code; However, The issue im having is the actual output size is over 205000 rows but when I run this module, Only 65000 rows are saved to the XLS file.

    Is there a way to have the module save all the rows??

    PLEASE HELP...

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: Output issue Access 2007

    What version of Excel are you using. Your profile indicates 2003, but you did indicate that you are using Access 2007. Just need to verify before giving an answer that will be workable for you.

    Alan

  3. #3
    Registered User
    Join Date
    02-15-2011
    Location
    Staten Island, NY
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Output issue Access 2007

    Quote Originally Posted by alansidman View Post
    What version of Excel are you using. Your profile indicates 2003, but you did indicate that you are using Access 2007. Just need to verify before giving an answer that will be workable for you.

    Alan
    Sorry....just upgraded to 2007 yesterday....so all 2007

  4. #4
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: Output issue Access 2007

    I would use the Transfer Spreadsheet method. Look at this for the syntax. As a matter of course, I believe that the acSpreadsheetType should be Excel12 for v.2007


    http://msdn.microsoft.com/en-us/libr...ffice.10).aspx


    Alan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0