Excel Interaction with non MS Office applications

kools

New Member
Joined
Sep 18, 2006
Messages
1
I am trying to write some code for importing results from a .txt or .csv file.

I just want to pull certain numbers from this .txt or .csv file into excel. Any suggestions? I don't think I can record a macro outside of excel (or can I?)

Thank you in advance.

Newbie

p.s: any code will be helpful for a start. I can edit it to give me what I want.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
Try recording Importing data from your txt or csv file.
Start by clicking Data | Import External Data | Import Data...
Follow the dialog box to import the type of data you want "*.*" or ".csv".
You can import the whole data then use excel to gather just what you are after.
That should get you started.
 

Forum statistics

Threads
1,136,272
Messages
5,674,753
Members
419,525
Latest member
helensesc

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
Top