Results 1 to 12 of 12
  1. #1
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43

    Formatting text of an export

    Is there a way for me to format the text used in exports? I want the fonts to be the same between the source data and where it's going.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    it depends. for instance, if you are exporting to HTML you can use allen browne's export function and simply add the <font> tags in where appropriate. if youre exporting to xml, chances are you can't.

  3. #3
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43
    no, I'm exporting to an excel spreadsheet..........

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Sarge, USMC View Post
    no, I'm exporting to an excel spreadsheet..........
    you can change the font in an access database? how do you do that? I wasn't aware...or maybe I've just never needed it. maybe someone else can help you sir. I have no idea if it's possible, but I do know that the export wizard in access allows you to check a box that says something like 'save formatting on export'.

  5. #5
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43
    how do I access the export wizard?

  6. #6
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Sarge, USMC View Post
    how do I access the export wizard?
    right click on a file and hit export

  7. #7
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43
    I must be on a dofferent page. I've created a form from the table of main data. It's the information on the form that I need to export to Excel. When I follow the steps you've outlined, it does not ask me if I weant to save my text formatting for the export.

  8. #8
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Sarge, USMC View Post
    I must be on a dofferent page. I've created a form from the table of main data. It's the information on the form that I need to export to Excel. When I follow the steps you've outlined, it does not ask me if I weant to save my text formatting for the export.
    if I take a form and right click on it and hit EXPORT, I see this:



    yours should be no different, unless of course you're using 03 which I see you are! in that case, you may want to check the OPTIONS menu to see if there are 'export' options that comply with this.

  9. #9
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43

    using Access 03 I should have said

    There has to be a way to set the font style and point size used in the data exported from forms, so I don't have to change it to the default font I use for everything.

  10. #10
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Sarge, USMC View Post
    There has to be a way to set the font style and point size used in the data exported from forms, so I don't have to change it to the default font I use for everything.
    I'm sure there is Sarge, but I don't know it.

    If you're absolutely set on doing this, program it. That is unproductive use of your time, but that's just my opinion. good luck with it!

  11. #11
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Aje's right about having to use VB to program the export if you want that kind of control over the Excel Workbook.

    I've never used it personally, but there's a type of VB programming called Office Automation that will do exactly what you're wanting. If you have any experience with programming in Access, it should be fairly easy to figure out (just Google/Bing "Office Automation").

  12. #12
    Sarge, USMC is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    43
    I found it! Tools.....Options.....Datasheet.......the export to Excel picks up the datasheet formatting apparently.
    Now if there was only a way to set the datasheet up so that the data is centered in the cells instead of left justified.....


    ....sneekin up on it....

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

Similar Threads

  1. export with formatting & layout preserves truncations??
    By yinchiao in forum Import/Export Data
    Replies: 0
    Last Post: 04-05-2010, 12:38 PM
  2. Replies: 0
    Last Post: 11-13-2009, 10:18 AM
  3. Text string formatting
    By DanW in forum Forms
    Replies: 2
    Last Post: 11-02-2009, 11:11 AM
  4. Auto Formatting Text in a Form
    By swicklund in forum Access
    Replies: 0
    Last Post: 07-23-2009, 01:15 PM
  5. Export Formatting
    By arthura in forum Import/Export Data
    Replies: 0
    Last Post: 02-20-2009, 08:44 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