Please Help, I need a macro to import data conditionally

biodand

New Member
Joined
May 7, 2002
Messages
5
Please Help, I'm a newbie when it comes to excel so if someone could help it would be of great help. I need a macro to import data conditionally from one file to another based on contents of more than one column. I need to set up an excel file that will auto update based on raw data entered and import only the rows that contain a specific number in either of two columns.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
On 2002-05-08 05:32, biodand wrote:
Please Help, I'm a newbie when it comes to excel so if someone could help it would be of great help. I need a macro to import data conditionally from one file to another based on contents of more than one column. I need to set up an excel file that will auto update based on raw data entered and import only the rows that contain a specific number in either of two columns.

Have a look at the Help file for Query (MSQuery), let me know if it's the sort of thing you need and how we acn help from there.

I use it quite a lot to conditionally import from Access/Excel/CSV/Oracle (you get the picture). I think it's exactly what you need.
 
Upvote 0
I agree with Ian:
I use MS query to develop workbooks that query over 2500 Oracle tables in our database. I am usually automating them for use by database challenged individuals. MS Query is a great tool for importing directly into Excel, with many options available for parameters and criteria. Note: Learn to write the queries in design mode so as not to depend on the wizard
This message was edited by lenze on 2002-05-08 07:02
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,027
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top