Results 1 to 2 of 2
  1. #1
    toddbailey is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Mar 2011
    Posts
    3

    Creating or Populating an Excel sheet from Access

    Hi All,



    I have a contract coming up and it's Access based.
    They might want to upgrade from Access 2001 to 2010 sometime soon.

    A user currently does a lot of copy and pasting from access forms into other applications.

    In one instance it's a pre formatted Excel template that is then emailed to a marketing team.

    Would it be possible to have access populate (via a command button) a excel file?
    The file can be completely new (created at run time) or a saved template with the titles, color coded areas, styles etc already defined, but with out any data?

    Once populated, would it be possible to creae a cmd button to then email the completed sheet

    I'm not asking how, but rather if it's possible? ( I haven't done any serious access/excel programming in years)

    If so,

    Would it be possible to populate the xls file on a row and cell basis, meaning I want to store the data create date in row 1 cell 10, and apply a Yellow background color to the cell, make the text font size and style some value?

    I'll probably have about 100 cells I'll need to populate.


    thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    It all sounds doable. You can either create a new spreadsheet or start with a template; I've done both. You can certainly populate/format specific cells. The general method of working with Excel from Access is called "automation", so searching on that should help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 4
    Last Post: 10-07-2010, 04:45 PM
  2. Import Excel sheet with query
    By tpcervelo in forum Queries
    Replies: 1
    Last Post: 08-03-2010, 07:10 PM
  3. Importing full excel sheet to access
    By karakal in forum Import/Export Data
    Replies: 0
    Last Post: 03-22-2010, 03:48 PM
  4. Creating excel file from access vba
    By rparmar in forum Programming
    Replies: 3
    Last Post: 03-02-2010, 06:03 PM
  5. Importing Excel Sheet into Access dbase
    By tonystowe in forum Import/Export Data
    Replies: 0
    Last Post: 12-08-2006, 11:35 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