Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Cesar Gonzalez   on Feb 04 In MS Office Category.

  
Question Answered By: Elaine Stevens   on Feb 04

You should be able to use something like this...

Dim ctrl As Control
Dim i As Integer

For Each ctrl In Controls
If Left(ctrl.Name, 5) = "Label" Then
ctrl.Caption = NameArray(i)
i = i + 1
End If
Next

Share: