473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Copying and pasting information from excel to access

I have an excel spreadsheet with 500 rows of information. I want to copy and paste that information into an access table that i'm using, column by column.... But access only lets me copy and paste cell by cell from excel to access. Of course i could do that or even use one of my forms i created but that only allows me to import the information record by record, but that would take for ever when i'd like to do the 500 records in a few big scoops (column by colunm).
I've tried using the template of my access table, putting the information into it using excel and then importing the excel speadsheet but it won't "update" the current access table, it simply "overwrites" or "adds" another table...

How can I quickly and easily copy and paste chunks of information from excel to an existing access table ?

Thanks for your time
May 22 '07 #1
3 31090
I have an excel spreadsheet with 500 rows of information. I want to copy and paste that information into an access table that i'm using, column by column.... But access only lets me copy and paste cell by cell from excel to access. Of course i could do that or even use one of my forms i created but that only allows me to import the information record by record, but that would take for ever when i'd like to do the 500 records in a few big scoops (column by colunm).
I've tried using the template of my access table, putting the information into it using excel and then importing the excel speadsheet but it won't "update" the current access table, it simply "overwrites" or "adds" another table...

How can I quickly and easily copy and paste chunks of information from excel to an existing access table ?

Thanks for your time

i normally link the database to the spreadsheet using the tables link wiz then once done use append to transfer the data over

G
May 22 '07 #2
jamjar
50
i normally link the database to the spreadsheet using the tables link wiz then once done use append to transfer the data over

G
You can't copy and paste (as you've found out).
You have to import or link the data, then as G suggests, use an append query to add it to your table.
It sounds like you've already figured out how to import the data. And I assume you already have a table set up to which you'd like to add the new data.
  1. Use a query wizard to create a query based on the new table, choosing all the fields you want. (If you want all the fields, just hit >>).
  2. Finish the wizard and see if you're happy with what its showing (should be good at this point).
  3. Click the Design button (top left toolbar, looks like a blue triangle with a pencil above it).
  4. Click the Query Type button (middle of toolbar, looks like two spreadsheets).
  5. Select Append Query
  6. Select the table you want to append to.
  7. For each field, select the appropriate field to Append to (4th row down in the lower section of the form).
  8. Click the Run button (middle of toolbar, looks like a red !)
  9. You should receive a prompt asking you to confirm you wish to append x number of rows ....
Step 7 will be easy if you used the same Field Names (column headings) in your tables.
If it all works out OK, you can save this query so you don't have to create it again. Just import the new data to the same new data table each time, overwriting the old one, and run the query. Just be careful not to run it twice, or you'll duplicate your data (unless you have a primary key to prevent that .... !)

James
May 23 '07 #3
You can't copy and paste (as you've found out).
You have to import or link the data, then as G suggests, use an append query to add it to your table.
It sounds like you've already figured out how to import the data. And I assume you already have a table set up to which you'd like to add the new data.
  1. Use a query wizard to create a query based on the new table, choosing all the fields you want. (If you want all the fields, just hit >>).
  2. Finish the wizard and see if you're happy with what its showing (should be good at this point).
  3. Click the Design button (top left toolbar, looks like a blue triangle with a pencil above it).
  4. Click the Query Type button (middle of toolbar, looks like two spreadsheets).
  5. Select Append Query
  6. Select the table you want to append to.
  7. For each field, select the appropriate field to Append to (4th row down in the lower section of the form).
  8. Click the Run button (middle of toolbar, looks like a red !)
  9. You should receive a prompt asking you to confirm you wish to append x number of rows ....
Step 7 will be easy if you used the same Field Names (column headings) in your tables.
If it all works out OK, you can save this query so you don't have to create it again. Just import the new data to the same new data table each time, overwriting the old one, and run the query. Just be careful not to run it twice, or you'll duplicate your data (unless you have a primary key to prevent that .... !)

James
Nice one J, That really helped, cheers ! : )
May 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jeremy | last post by:
I have a pretty straightforward database that is designed to record free-form information about products (date, source and a memo field). This is searched and updated via a form. For new records,...
0
by: Simon Kirk | last post by:
Hi, In Access 97 I used to be able to copy data from Excel 97 and then paste it directly into the tables database pane. It would then ask if the first row contained column headings, and then...
2
by: wisaac | last post by:
What I would like to do is automate the manual process of copying an image from an excel spreadsheet to the clipboard, and pasting it into an access table with an OLE Object field. I want to do...
3
by: winshent | last post by:
I have copied approx 20 controls from a form to a tab control for reasons of space. i now cannot run code triggered by the events of these controls. for example, the following will not trigger...
0
by: postings | last post by:
Hi I'm a little confused. I've deployed my ASP.NET project by using the "copy project" feature of VS2003. Works fine. I'm stuck however in copying individual files to the deployed solution. ...
0
by: Jerry Price | last post by:
I have VB.net and created a small executable to consolidate excel worksheets into a "Master file" I have it working great, except the only way it seems to let me do it is to first delete the...
2
by: steph | last post by:
Hi all, I have an Access2002 form in in datasheet view. Column "CMP" is locked to user input, instead it is filled automatically by this function: === Private Sub Form_BeforeInsert(Cancel As...
1
by: Paresh Shah | last post by:
We have names and addresses data base of people across the world in note pad in vertical form as under. name Designation company name Address 1 Address 2 City pin code Country
4
by: crazybear | last post by:
Hey guys, I am running a site that many users are inputing data into. I am ASP and HTML forms. The users want to be able to copy a column from excel and paste it into this form, but it isn't...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.