About 25,300 results
Open links in new tab
  1. excel - Read/Parse text file line by line in VBA - Stack Overflow

    I'm trying to parse a text document using VBA and return the path given in the text file. For example, the text file would look like: *Blah blah instructions *Blah blah instructions on line 2 …

  2. Text file in VBA: Open/Find Replace/SaveAs/Close File

    May 3, 2012 · Here is pseudocode for what I am hoping to do: Open text File Find "XXXXX" and Replace with "YYYY" Save text File As Close text file This is what I have so far Private Sub …

  3. How do I open space-delimited file in Microsoft Excel?

    Open the CSV file with Excel 2016. Look for "Data" tab and "Text in column" button. In the step 1, select "Delimited". In the step 2, select first "space", and then choose "string classifier" as ". …

  4. How to open a txt file with vba code and and copy its contents to …

    Oct 9, 2017 · 0 I need to open multiple txt files from same folder and copy its contents to a single excel file (like a template) to modify the values and then, I need to copy the modified values …

  5. How to create and write to a txt file using VBA - Stack Overflow

    2 A more modular approach for writing to a text file in VBA, inspired by Ben and Marcus's answers.

  6. excel - Open a file with notepad through VBA - Stack Overflow

    If you want to create a new text-file and want to write into it, you could use this approach:

  7. vba - Importing text file into excel sheet - Stack Overflow

    Open the text file in memory and then write to the current sheet and finally applying Text To Columns if required. If you want to use the method that you are currently using then after you …

  8. excel - Using VBA to open a tab delimited .txt file to save to .xlsx ...

    Mar 24, 2014 · Set WB = Workbooks.Open(folder + file, , , 1) The 1 at the end signifies tab delimited. Not sure what it will do for the .xls files it also opens, but I'll worry about that next. …

  9. excel - Append to Text File VBA - Stack Overflow

    Open filePath For Append As #ff Else Open filePath For Output As #ff End If For rLoop = 1 To thisRange.Rows.Count strRow = "" For cLoop = 1 To thisRange.Columns.Count If cLoop > 1 …

  10. How to edit a text file using excel vba - Stack Overflow

    Apr 9, 2014 · I need to edit a text file i.e add and update the data using the macro. I have a text file having thousands of records, a separate excel sheet which gives the mapping of data in …