objfso

  1. M

    reading text file does not advance

    I have a text file of about 20 file names I generated from doing a shell dir command and placing the output in a text file. I am reading the text file row by row and doing processing after each row read. It works fine for the first 6 rows or so, then on the next row read, it stops advancing to...
  2. H

    Run time error '53': File not found

    Dim wb As Workbook Dim ws As Worksheet Dim objFSO, strTextFile, strData, arrLines, LineCount Dim ReceivedTrans, Mis As Integer Dim MyFolder, MyFile, MyFileName, MySheetName, ReportDate As String Dim FileType As String Dim i, j As Integer Const ForReading = 1 i = 1 j = 1 Set objFSO =...
  3. B

    Addition to VBA code to run through Sub Folders

    Hello, Please can some adapt the below code to allow the files to run through sub folders? Sub Example1() Dim objFSO As Object Dim objFolder As Object Dim objFile As Object Dim i As Integer Sheet2.Activate 'Create an instance of the FileSystemObject Set objFSO =...
  4. L

    Need help modifying some FileSearch code please

    Hi, I'm a novice so please bear with me... I'm trying to modify some code from RDB to copy a range (one row, ~40 columns) from many workbooks (500+) into one. I just found out that the application.FileSearch which he uses has since been discontinued from Excel 2007+. I looked up 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