vb Code:
  1. For Each lbl As Label In Me.Controls.OfType(Of Label).Except(New Label() {name1, name2})
  2.     lbl.Tag = randomnumber
  3. Next