I have a workbook with multiple sheets with the same tables design and conditional formatting, and because sometime I face some drops in applying conditional format is some sheets, so I recorded a macro to copy the first row from a sheet that I see that it's stable "Ivory" and paste only formatting to the full table in other sheet but the probelm is that the code only run for the this sheet only and i need to add a button in each sheet to run the code in case I noticed that condtional formatting is not applied in a proper way but not for all sheets at the same time only the active sheet. here is the code below but I don't know how to add (This Activesheet ) instead of the sheet name. please I need your help to edit that or if you have any other suggestions
VBA Code:
Sub ResetFormat()
'
' ResetFormat Macro
' Rest conditional Fomatting
'
'
Sheets("Ivory").Select
Range("B10:T10").Select
Selection.Copy
Sheets("Kingsrange").Select
Range("B10:T10").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Range("Kingsrange").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Range("L5").Select
End Sub