Hi,

Referring to brown monkey's post, if some of the labels on the form were not used for dates, then identify those which are and set their Tag property to something (e.g. "YES") and then code

VB Code:
  1. Dim c As Control
  2.       Dim intX as Integer=0
  3.       For Each c In Me.Controls
  4.          If c.Tag="YES" Then
  5.             c.Text=str(dteShiftWeek(intX))
  6.             intx=intx+1
  7.          End If
  8.       Next