txt file import

  1. S

    VBA query pasting data in with new columns rather than just pasting values into existing columns?

    Hi! I have a macro/vba that imports a .txt file (i wanted to be able to assign the macro to create a button to import rather than copy/paste), I just wanted pastevalues starting with a specific cell, keep the layout/formatting because its in a nice grid. I had it working fine for a week then...
  2. S

    Copying from text file to excel

    I have to copy data from a text file to excel I tried recording it but all I managed to get was this: Sub Macro1() ' ' Macro1 Macro ' ' Range("A1").Select ActiveSheet.PasteSpecial Format:="Unicode Text", Link:=False, _ DisplayAsIcon:=False, NoHTMLFormatting:=True End Sub I...
  3. A

    Copy Cells in a loop from text file

    Hello everyone! I am new in VBA and I have problems with importing text and copying it in current worksheet. I created a code that imports text file to last worksheet in current workbook, but an error "Type mismatch" appears when I try to copy it in worksheet 1. Actually, I need to copy every...
  4. J

    VBA: Find start and end text in TXT file, copy all data in between to specified Excel Column

    I'm trying to get data from multiple TXT files into Excel. Each TXT file represents 1 row of data on the excel workbook. Each section of text the TXT file represents the corresponding column in that row. For example: Everything after "Other Observed Names" would go in a column labeled "Other...
  5. M

    Advanced excel: column breaks every n characters (text to columns, fixed width)

    Hello dear MrExcel community, I have stumbled upon a problem that for me is really hard to resolve. Problem is that I have a file in .txt format, after I open it with excel I need to get columns with it with Text To Columns option. The thing is, fixed width needs to be selected and then you...

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