the following code runs the invalid use of property error. I am just trying to apply a simple division across 50 tabs. its basically dividing each cell value with one cell value at the top.
Sub Macro2()
'
' Macro2 Macro
  Dim ws As Worksheet`
   For Each ws In ThisWorkbook.Worksheets
         ws.Range ("AD1")
         ActiveCell.FormulaR1C1 = "In %"
         ws.Range ("AD1")
         Selection.Font.Bold = True
         ws.Range ("AD2")
         Application.CutCopyMode = False
         Application.CutCopyMode = False
         ActiveCell.FormulaR1C1 = "=RC[-2]/R2C28"
         ws.Range ("AD2")
         Selection.Copy
         ws.Range ("AD2:AD91")
         Application.CutCopyMode = False
         Selection.FillDown
         Selection.Style = "Percent"
         Selection.NumberFormat = "0.0%"
         Selection.Font.Bold = True
         ws.Range ("AD2")
    Next ws
    End Sub
 
     
    