text import file vba

  1. Dan DeHaven

    Fill a Array Property with an range variable?

    I'm trying to create a automated/dynamic Text Import procedure and having trouble filling the array properties (.TextFileColumnDataTypes, .TextFileFixedColumnWidths) with range variables. I've named the ranges as this would be the ideal way to call them from code. Here is the code: Sub...
  2. A

    Text Import Problem

    I have a macro that imports a text file into excel. It works great, but I have one problem. When it imports, all the columns are in the General format. I need the 3rd column to be in Text format because that column has part numbers, and if the part# starts in 0 it removes the zero. Is there a...
  3. J

    Text import spilling over into new columns

    I'm importing several small 2 column data files of dates with variations of the following macro: After importing a few rows correctly the macro starts creating new columns and saves the data there. The macro was captured using Data ==> From Text. This import ran ok.
  4. R

    Parsing a text file over multiple lines

    I am relatively new to working in vba so bear with me. I am writing a macro to search a text file for a string "ioelp". Once i find this string i want to read the file until i find the character ";". I would then like to write the whole string to a new text file. I then need to take this...
  5. R

    Import files with no extension

    I got some files that i must import automatically with a code, but they got no extension, they are special files that i manually import using the import data(text mode) then use some formula to extract information. I need them to be imported with a code, so i can continue the code to do...

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