Results 1 to 2 of 2
  1. #1
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544

    Question TransferSpreadsheet...Maintain formatting

    I am wanting to export some query results into an excel spreadsheet and would like to maintain the formatting. I have the fields in my query formatted to Currency and Standard. Is there a specific Spreadsheet Type I can use?



    Code:
        varExportQuery = "CountTP_ByWeek"
        varExportLoc = "C:\FileLocation" & varExportQuery
        DoCmd.TransferSpreadsheet acExport, , varExportQuery, varExportLoc

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    am not sure what is meant by 'spreadsheet type'.

    be sure to look into the 'export specification' feature of Access - - I think this will provide what you need.

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

Similar Threads

  1. Transferspreadsheet Help Please
    By graviz in forum Programming
    Replies: 0
    Last Post: 11-30-2009, 02:56 PM
  2. Replies: 1
    Last Post: 11-10-2009, 03:12 PM
  3. Can't get TransferSpreadsheet to work
    By Valeda in forum Import/Export Data
    Replies: 0
    Last Post: 07-19-2007, 08:04 AM
  4. transferSpreadsheet
    By rabbit in forum Import/Export Data
    Replies: 1
    Last Post: 06-09-2006, 04:01 PM
  5. transferspreadsheet function
    By jeffj in forum Import/Export Data
    Replies: 3
    Last Post: 03-13-2006, 11:59 AM

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