jmcilhinney - Thank you! I changed the dgTest declarations line to
Code:
Dim WithEvents dgTest As New DataGridView
and it now works just fine.