Apologies, the module name was 'VBAProject' and not 'Module 2 (Code)'. I've tried running the code below but this error came up: "For Each can only iterate over a collection object or an array".
![]()
Sub test() Dim ws As Worksheet For Each ws In VBAProject ws.Activate Call CheckAll Next ws End Sub
Bookmarks