I've shortened it down as there are about 15 more instances of opening, saving, and closing.
******Begin Code*********
Function Grab()
Dim intResponse As Integer
Dim XL As Object
Set XL = CreateObject("Excel.Application"
XL.Workbooks.OpenText Filename:= _
"V:\CMS\State of the Center\HR Project\Imports\bt1.txt", Origin:=xlWindows, _
StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=True, Tab:=False, Semicolon:=False, Comma:=False _
, Space:=True, Other:=False, FieldInfo:=Array(Array(1, 1), Array(2, 1), Array _
(3, 1), Array(4, 1))
Rows("1:8"

.Select
Selection.Delete Shift:=xlUp
Range("A1"

.Select
ChDir "V:\CMS\State of the Center\HR Project\Import Convert"
XL.ActiveWorkbook.SaveAs Filename:= _
"V:\CMS\State of the Center\HR Project\Import Convert\bt1.xls", FileFormat:= _
xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False _
, CreateBackup:=False
XL.ActiveWindow.Close
MsgBox "Transfer completed successfully. Closing Excel", vbInformation, "Success"
XL.Quit
Set XL = Nothing
*****End Code***** Jay
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"