live worksheet
Vba For Each Worksheet In Active Workbook
Vba For Each Worksheet In Active Workbook. To set the activesheet use worksheet.activate: The third vba macro copies worksheets from all open workbooks and collects them all to a single master workbook.

Each workbook has its own set of selected worksheets; Use an object variable to iterate through the worksheets in workbook (worksheet). Using the activesheet property without an object qualifier returns the active sheet in the active workbook in the active window.