w00t...I stepped thru.
i could see it opened file1 and highlighted header column and rows A-D like I want and then it did a copy but after error.
Still giving the error on line below in bold:
Code:
'Full File Names
varFile1 = strLocation & "\" & strFile1
varFile2 = strLocation & "\" & strFile2
'Open strFile1 for copying
Workbooks.Open Filename:=varFile1
If WorksheetFunction.CountA(Cells) > 0 Then
'Search for any entry, by searching backwards by Rows.
LastRow = Cells.Find(What:="*", After:=[A1], _
SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious).Row
'MsgBox LastRow
End If
strRange1 = "A1:D" & LastRow
Range(strRange1).Select
Selection.Copy
Windows("Final_Template").Activate
Rebelle, February 17th, 2009 01:56 PM
Bookmarks