The variable should be declared here: VB Code: For Each oControl As Control In Me.Controls
For Each oControl As Control In Me.Controls
Forum Rules