Hi
It's working fine here. I got 16 rows of data for SensorExhaustOxygenPFOS786.CSV.
To fix the file name
replace
withCode:wbkNewFile.SaveAs strOutPutFolder & varUniques(lngLoop) & strFileFormat, lngFileFormatNum
Post back if any help needed.Code:wbkNewFile.SaveAs strOutPutFolder & rngToCopy.Cells(2, 1) & strFileFormat, lngFileFormatNum
HTH




Reply With Quote

Bookmarks