Dim App As New MSExcel.Application Dim Wb As MSExcel.WorkBook = App.WorkBooks.Open("D:\Report.xls") Dim Ws As MSExcel.WorkSheet = Wb.WorkSheets(1) Dim Rg As MSExcel.Range = Ws.Rows("1:3")'选定多行 Rg.Delete(MSExcel.XlDirection.xlUp) '下面的单元格上移 Rg = Ws.Columns("D:F") '选定多列 Rg.Delete(MSExcel.XlDirection.xlToLeft) '右面的单元格左移 App.Visible = True