.txt

  1. Z

    Outlook auto display only .txt attachments in body

    Hello, I'm looking to save myself quite a bit of work. on avg, i'm receiving about 200 emails a day with automated .txt file attachments. the .txt files have information that i need from an automated source. all i have to do is look at 2 lines of the .txt e-mail and know exactly what needs to...
  2. S

    Importing data from .txt (what if .txt file no longer exists?)

    In Excel 2016, I import data from .txt files by using the "From Text" under the "Data" tab in the top ribbon. The .txt files consist of a header (e.g. "Apples") and a list of entries. Opening a .txt file in Notepad would look something like this: Apples 5 4 8 9 ... The .txt files are...
  3. sharky12345

    Open .txt file

    Can someone show me how I can open the following file through VBA? dt = Format(Now, "dd_mm_yyyy_hh:mm") ThisWorkbook.path & "\Vehicle Maintenance Files\Reports\Vehicle Fleet Status Log " & dt & ".txt"
  4. B

    Copying certain information from a text file using VBA code

    Is there a way to create a code to 1st read a specific .txt file based off of the .txt file's name listed in a certain cell in Excel and then enter that certain information from the .txt file below that .txt's file name in the very next row below the file name's cell? If so, could it search &...
  5. E

    VBA/Macros Help

    Good day experts, I would like to seek help on how to automate to copy and paste one whole specific excel 2016 sheet exactly to a notepad and .txt file. Thank you in advance.
  6. O

    Retrieving data from a .txt file

    Hello, I would like to know if I have data file in a specific folder named ="Folder A" which will be residing on my desktop at all times, would I be able to retrieve data from the last created file type = ".txt" from it. Can I do it via VBA scripting of some sort? The data in the .txt file may...
  7. T

    Import data from multiple big .txt (around 1.5 Mb) into multiple .xlsx

    Hi guys, I'm currently a newbie to VBA macro scripting. While working I need to find a way to import data from a text file to an excel worksheet, and a way to automatize it for a list of .txt into a list of .xlsx . Found a sweet code here http://www.cpearson.com/excel/ImportBigFiles.aspx but it...
  8. B

    VBA to copy huge .txt file

    I'm creating a VBA code to read a .txt with aproximately 10k lines and 105k words, currently I got this: Sub GetTxt() Dim objFSO As Object Dim objTF As Object Dim strIn 'As String Dim X PilarTxt = Range("C1") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTF =...
  9. B

    Reading huge .txt file

    I'm creating a VBA code to read a .txt with aproximately 10k lines and 105k words, currently I got this: Sub GetTxt() Dim objFSO As Object Dim objTF As Object Dim strIn 'As String Dim X PilarTxt = Range("C1") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTF =...
  10. V

    Macro to export a column to .txt file

    Can I please get some help to have a button to export column B to a .txt file
  11. C

    Advanced criteria for text file parsing and importing.

    Hello again! I have a plaintext file conversion of a pdf, of multiple pages - each with a header. I only need the first 20 pages or so of this report but it is about 50. And of those 20 pages, there are three kinds of data I am interested in, "APPLES", "ORANGES", and "GRAPES." The rest of...
  12. R

    Compiling data from multiple .txt files

    Greetings all, I have an analytical piece of equipment that exports data for each sample analyzed into a separate .txt file. I would like to compile all of the data from analyses performed on one day into one summary workbook. Ideally, there would be a workbook template in which you enter the...
  13. R

    Creating summary file from multiple workbooks created on specific day

    Greetings all, I have an analytical piece of equipment that exports data for each sample analyzed into a separate .txt file. I would like to compile all of the data from analyses performed on one day into one summary workbook. All of the exports are in the same format but the location of the...
  14. J

    Find given string inside .txt file in folder and copy file to another directory

    Hello, I've tried hard to find a solution for my problem but all the codes I've tried don't work or something is missing. What I need is a Macro that finds a given string inside a .txt file in a given directory (more than 100 files in it) and then copy the file to a specific path. The code I...
  15. J

    How can I export the text of one column of a workbook as text file and perform the saving with a macro

    I have a sheet with several workbooks. The aim of the sheet is to generate a text of a letter automatically depending on a lot of parameters. In one of the workbooks I have the result in column A. lets call this workbook corrections The content of the cells in letter_text might be in English...
  16. A

    VBA Experts needed! Importing of multiple .txt files from multiple folders with folder name in first column...

    Hi there! Been searching forever to get some VBA code to do what I need! I think I'm almost there... Scenario: I have many folders labelled with an ID for the folder name. In each of these folders are a series of .txt files with pipeline delimited data that belongs to that ID number/folder...
  17. W

    Create .txt file from excel cell value

    Is it possible to create a .txt file that writes the contents of each cell in a column? So if there where 50 unique values, then I need 50 different .txt files. Thanks in advance
  18. D

    Open Multiple .txt Files with Same Settings

    I have dozens of .txt files that I want to import into Excel so that they can be formatted, merged, referenced, etc. There are a few columns of data that are formatted in a way that imports them as dates instead of as numbers by default. I've figured out how to import them with the correct...
  19. D

    Macro To Combine Multiple .txt Files Into One Workbook

    Hello, MrExcellers... I'm trying to combine multiple .txt files into a single worksheet. Any chance there's a macro that can help automate this to a certain extent? Ideally, starting on row 2 of each .txt file? I've been trying at this for a while and have come up dry. Thanks in advance for any...
  20. V

    How to convert each rows in a spreadsheet into a unique .txt file

    Hi everyone, I'm very much a newbie here. I have a spreadsheet that contains about 600 rows; in each row contains a great deal of text (several thousand words). I am trying to convert/transfer each rows into a separate text (.txt) file. By way of background, each of these rows contains a...

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