ANOTHER IMPORT TXT ?

kmorgan2004

New Member
Joined
Jan 11, 2005
Messages
41
NEED SOME HELP.

I AM MAKING A COST ESTIMATE ON DIFFERENT ROADS IN MY CITY. I HAVE A TEMPELE EXCEL FILE THAT I HAS A MACRO IN IT TO CALCULATE THE COST FOR REPAIRS. HOWEVER I NEED TO COPY IN THE GIS DATA FOR THE ROAD I AM EVALUATING (TXT FILE) INTO MY SHEET CALLED DATA.


I AM TRYING TO COPY IN A TXT FILE INTO A SHEET CALLED DATA IN A FILE CALLED 12THAVECOST.XLS NEXT TIME IT COULD BE CALLED CANALSTREETCOST.XLS

THE PROBLEM:
I NEED TO BE ABLE TO COPY IN DIFFERENT TXT FILES DEPENDING ON WHICH ROAD I AM DOING COST ESTIMATE ON AND SOMETIMES THE TXT FILE DOES NOT MATCH THE FILENAME FOR THE .XLS. SO I NEED TO BE ABLE TO BROWSE AND CLICK ON THE FILE TO COPY INTO THE DATA SHEET.

THANKS
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

gedi

Board Regular
Joined
Jul 7, 2004
Messages
157
Why not just use Data -- Import External Data -- Import Data from the menu, and Select All Files for Files of Type
 

kmorgan2004

New Member
Joined
Jan 11, 2005
Messages
41
I COULD BUT I WANTED A WAY THAT THE MACRO WOULD LOOK IN A LOCATION, WHERE ALL I HAD TO DO I CLICK ON THE FILE TO IMPORT

THANKS FOR THE REPLY
 

Watch MrExcel Video

Forum statistics

Threads
1,122,514
Messages
5,596,612
Members
414,080
Latest member
penguin23

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