VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   2145
   ClientLeft      =   4830
   ClientTop       =   6465
   ClientWidth     =   9705
   LinkTopic       =   "Form1"
   ScaleHeight     =   2145
   ScaleWidth      =   9705
   Begin VB.CommandButton CMDFILL 
      Caption         =   "&FILL"
      Height          =   495
      Left            =   6240
      TabIndex        =   2
      Top             =   360
      Width           =   1455
   End
   Begin VB.TextBox TXTDECRI 
      Height          =   375
      Left            =   1320
      TabIndex        =   1
      Top             =   840
      Width           =   4095
   End
   Begin VB.TextBox TXTCODE 
      Height          =   285
      Left            =   1320
      TabIndex        =   0
      Top             =   240
      Width           =   1335
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CMDFILL_Click()
   example_fill TXTCODE, TXTDECRI
End Sub

Private Sub example_fill(ParamArray parametervalues() As Variant)
   Dim txt_examples(4) As String

    txt_examples(0) = "MYCODE"
    txt_examples(1) = "MYDESSCRIPTION"
    txt_examples(2) = "LONDON"
    txt_examples(3) = "PARIS"
    txt_examples(4) = "NEW YORK"
    
    

     For I = 0 To UBound(parametervalues)
           parametervalues(I) = txt_examples(I)
     Next
    'I would like the controls with  MYCODE  and  MYDESSCRIPTION

End Sub

