Excel VBA函数将所有数据返回到新工作表
我如何创build一个函数来应用预定义的filter等等,然后用这些数据生成一个新的表格?
我只需要创build新的表单部分。 谢谢。
使用预定义的模板工作表并复制:
Dim wb as Workbook Set wb = '... (set the workbook here where you want your new sheet to be copied) ThisWorkbook.Sheets("NameOfYourTemplate").Copy _ after:=wb.Sheets(wb.Sheets.Count)