What is the syntax to loop through worksheets?

'Method 1 - looping using a For Each loopDim sht As Worksheet
For Each sht In ThisWorkbook.Worksheets
<your code here>
Next sht'Method 2 - looping using a For loopFor i=1 To ThisWorkbook.Worksheets.Count <your code here, referencing Worksheets(i)>Next