hi everyone,
I'd really appreciate if someone could put me in teh right direction. I'm using the following Macro to copy the sheet, however I don't want to copy specific Object name "Setday" into new sheet. However, at the moment with the following code - it's not copying any object but I only want that "Setday" not to be copied.
Please can someone help me.
Thank you
I'd really appreciate if someone could put me in teh right direction. I'm using the following Macro to copy the sheet, however I don't want to copy specific Object name "Setday" into new sheet. However, at the moment with the following code - it's not copying any object but I only want that "Setday" not to be copied.
Please can someone help me.
Thank you
VBA Code:
Dim wks As Worksheet
Set wks = ActiveSheet
Application.CopyObjectsWithCells = False
ActiveSheet.Copy After:=Worksheets(Sheets.Count)
If wks.Range("a3").Value <> "" Then
On Error Resume Next