Excel VBA函数,用于将所有数据返回到新工作表
如何创建一个应用预定义过滤器等的函数,然后使用该数据生成新的工作表 我只需要创建新的表部分。Excel VBA函数,用于将所有数据返回到新工作表,excel,spreadsheet,excel-2010,vba,Excel,Spreadsheet,Excel 2010,Vba,如何创建一个应用预定义过滤器等的函数,然后使用该数据生成新的工作表 我只需要创建新的表部分。 谢谢。使用预定义的模板表并复制: 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)
谢谢。使用预定义的模板表并复制:
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)