Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,560
Default Pasting data from Excel

Hello everyone,
I'm not sure if I should be posting this question here or in the Excel
forum but here goes. Is it possible to copy data from multiple cells in
Excel and then paste them into multiple lines of the criteria section of an
Access query? For example, Given cells and values: A1- 1
A2- 2
A3- 3
I would like to be able to copy this data from Excel and paste it into an
Access query like : Criteria: 1
or: 2
3

I am using Access 2002 SP3 and Excel 2002 SP3
--
Thanks,
David
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,365
Default Pasting data from Excel

Actually this did get posted in the Excel forum.

The answer to your question appears to be NO. I determined this simply by
creating a dummy database in Access with a table and then attempting to
create a query to extract data from the table and chose 3 cells with valid
criteria in them and pasted them into the criteria section of the query.
Boom! Error. All 3 values went into a single criteria row, so Access choked
on it.

"David" wrote:

Hello everyone,
I'm not sure if I should be posting this question here or in the Excel
forum but here goes. Is it possible to copy data from multiple cells in
Excel and then paste them into multiple lines of the criteria section of an
Access query? For example, Given cells and values: A1- 1
A2- 2
A3- 3
I would like to be able to copy this data from Excel and paste it into an
Access query like : Criteria: 1
or: 2
3

I am using Access 2002 SP3 and Excel 2002 SP3
--
Thanks,
David

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,346
Default Pasting data from Excel

Hi,

When you paste multiple lines into the criteria row of and Access query, all
the entries go into one cell, you could then put an OR between each one, but
you would need to do it manually.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"David" wrote:

Hello everyone,
I'm not sure if I should be posting this question here or in the Excel
forum but here goes. Is it possible to copy data from multiple cells in
Excel and then paste them into multiple lines of the criteria section of an
Access query? For example, Given cells and values: A1- 1
A2- 2
A3- 3
I would like to be able to copy this data from Excel and paste it into an
Access query like : Criteria: 1
or: 2
3

I am using Access 2002 SP3 and Excel 2002 SP3
--
Thanks,
David

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data missing when pasting from Access into Excel NPDPallotti Excel Discussion (Misc queries) 3 March 5th 07 08:37 PM
Pasting data from Matlab to Microsoft Excel nt_artagnian Excel Worksheet Functions 5 March 3rd 07 07:47 PM
Pasting Excel data into Word doc. mjdntn Excel Worksheet Functions 0 September 26th 06 04:38 PM
Pasting on Filtered Data Sheets without pasting onto hidden cells CCSMCA Excel Discussion (Misc queries) 1 August 28th 05 01:22 PM
pasting excel data in a powerpoint slide James Excel Discussion (Misc queries) 4 January 28th 05 02:23 PM


All times are GMT +1. The time now is 03:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"