litting of control names on form..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how could i obtain a text list of control names on a form? looking to
cut/paste into vba to clone a record..
thx!
Don
 
Dim ctlCurr As Control

For Each ctlCurr In Me.Controls
Debug.Print ctlCurr.Name
Next ctlCurr

will write the names of all of the controls to the Immediate window.
 
Back
Top