Hi Guys,
I need some VBA code that says:
If an error exists to skip the procedure and move onto the next condition or else run the following bit of code
The Code is:
Sheets("CPK Manipulation").Select
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
With ActiveSheet.PageSetup
.CenterHeader = "&""TAHOMA,Bold""&28CPK DATA"
End With
I know that this is simple but I know very little about coding.
Many Thanks
Hayton McGregor
I need some VBA code that says:
If an error exists to skip the procedure and move onto the next condition or else run the following bit of code
The Code is:
Sheets("CPK Manipulation").Select
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
With ActiveSheet.PageSetup
.CenterHeader = "&""TAHOMA,Bold""&28CPK DATA"
End With
I know that this is simple but I know very little about coding.
Many Thanks
Hayton McGregor