如果要选择包含所有标题单元格的变量范围: Dim sht as WorkSheet Set sht = This Workbook.Sheets("Data") 'Range(Cells(1,1),Cells(1,Columns.Count).
確定! 回上一頁