MonsterNco
New Member
- Joined
- Aug 28, 2017
- Messages
- 2
Dim ws As Worksheet
For Each ws In Sheets
ws.Activate
"Macro Information"
Next ws
End Sub
I currently have this Macro that runs on all sheets on a selected workbook. I want to add a step that checks B51 on each sheet as it runs if the cell is equal to 0 I want it the macro to move on to the next open spreadsheet. Thank you for any help you can give.
For Each ws In Sheets
ws.Activate
"Macro Information"
Next ws
End Sub
I currently have this Macro that runs on all sheets on a selected workbook. I want to add a step that checks B51 on each sheet as it runs if the cell is equal to 0 I want it the macro to move on to the next open spreadsheet. Thank you for any help you can give.