Results 1 to 2 of 2
  1. #1
    Glenwood is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    Apr 2011
    Posts
    5

    print to excell

    I have a access program in which people can click on a check box, when I export the data to excel, the check boxes show up as true or falses, I tried to creat checkboxes in the excel, but it would not export to it. and why is it you can only export to excell in an "new" file, if I set up a file in excelll with the same name as the access table and same column set up, it wont take it. or am I doing something wrong.

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    When exporting yes/no fields to Excel i usually code them so they come out as Yes or No instead of True or False. To do this you need to amend your recordset so amend your yes/no column to something like this:

    YesNo: iif([YesNoField] = -1,"Yes","No")

    NB: you need to replace the [YesNoField] bit with the actual field name.

    RE: Exporting to an existing Ecel template is possible. The way that I do it is to set my Exel file up with named cells and then send the information out to those cells.

    Do a search for something like "export access to excel named cell" and see how you get on.

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

Similar Threads

  1. Exporting Pivot Table to Excell - only want filtered records
    By Jennifer227 in forum Import/Export Data
    Replies: 1
    Last Post: 04-01-2011, 03:10 PM
  2. Replies: 0
    Last Post: 02-22-2011, 05:04 AM
  3. Access waits for Excell
    By e.badin in forum Programming
    Replies: 3
    Last Post: 01-10-2011, 07:51 AM
  4. opening an excell file from out of access
    By FSCHAMP in forum Access
    Replies: 1
    Last Post: 01-05-2011, 10:17 AM
  5. import an excell spreadsheet in an access database
    By lmichaud in forum Import/Export Data
    Replies: 0
    Last Post: 11-03-2006, 08:29 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