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
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Why not just use Data -- Import External Data -- Import Data from the menu, and Select All Files for Files of Type
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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