Trying to run this simple code in Immediate window and keep getting Compile Error "Next without For".
Tried umpteen versions keep getting same error
For Each AccessObject In CurrentProject.AllForms
Debug.Print AccessObject.Name
Next
Or
For Each Control In Me.Controls
Debug.Print Control.Name
Next
Must be me, I'm sure.
Thanks in advance
jpl