Dim app As Object [COLOR=Green]'excel application[/COLOR]
Dim file As Object [COLOR=Green]'excel file[/COLOR]
Dim ws As Object [COLOR=Green]'worksheet[/COLOR]
Set app = CreateObject("Excel.Application") [COLOR=Green]'This opens excel application windows[/COLOR]
Set file = app.Workbooks.Open("C:\File Folder\File Name.xls")
Set ws = file.Worksheets(1) [COLOR=Green]'This opens your sheet that you want to write to[/COLOR]
[COLOR=Green]'Set ws = file.Worksheets("Sheet Name") -- you could use this too[/COLOR]
ws.Activate
Sheets(1).Select (1)
[COLOR=Green]'Sheets(1).Select -- could do it this way too[/COLOR]
Rows("1:3").Select
Selection.Delete Shift:=xlUp