Consulting

Results 1 to 2 of 2

Thread: Need Help with exporting from Access to Excel

  1. #1
    VBAX Newbie
    Joined
    Aug 2010
    Posts
    1
    Location

    Unhappy Need Help with exporting from Access to Excel

    I am at my ropes end with this... I am very new to vba.

    I have a db with a tbl and a form.
    I have an Excel Workbook with multiple spreadsheets.
    In a spicific spreadsheet I add data to the bottom of a long list of data.
    That data starts in Column A and goes through Column T.
    Every Row is a Single record(Company name, title, phone number, etc.)

    spreadsheet format: NOTE: the record ID's will already exist before the data gets to me, and will need to stay the same.

    The db that I am using: "my_db"
    The tbl in "my_db" is: "my_tbl"
    The already existing Excel Workbook: "my_excel"
    The spreadsheet to be used in "my_excel" is: "my_spreadsheet"


    I want to:
    push a button on my form and the following happens...
    - all the data in "my_tbl" is selected and copied(but NOT the headers)

    - paste copied data(something comparable to paste special/CSV) into the first empty cell of Column A in "my_spreadsheet". [The Columns in "my_spreadsheet" have formulas and formatting that should not be altered]

    - I do not want "my_excel" to be closed after this operation.

    NOTE: "my_excel" will already be open, but minimized.
    NOTE: I am not allowed to change any formatting/code at all in "my_excel", Because I am not the only one who uses this Excel doc.

    I have tried and tried... now I just want to put in the code so that I can shave minutes off of this task, which I do all day.

    Please help.

  2. #2
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    Here are a couple of links to get you started:

    Link 1
    Link 2
    Link 3

    We are what we repeatedly do. Excellence, therefore, is not an act but a habit.
    Aristotle

Posting Permissions

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