Activate sheet being copied
Posted by Alaina on December 13, 2001 12:46 PM
The following is returning me to the original workbook, but not showing me what sheet is being copied. The workbook has various sheets and I want to see what sheet is being copied each time. What am I doing wrong:
Sub Copy_Qtr()
Application.ScreenUpdating = True
Set Orig = ActiveWorkbook
Dim Sh As Worksheet
For Each Sh In Worksheets
Set SheetBeingCopied = ActiveSheet
SheetBeingCopied.Parent.Activate
Application.Dialogs(xlDialogWorkbookCopy).Show
ActiveSheet.Name = "QTD"
Orig.Activate
Next
End Sub