Printing a list of controls

  • Thread starter Thread starter Jim Pockmire
  • Start date Start date
J

Jim Pockmire

Can you provide code to print a list of controls in a specified table or
form? (Debug.Print)
 
Jim said:
Can you provide code to print a list of controls in a specified table or
form? (Debug.Print)


Table don't really have controls. For an **open** form or
report:

For each ctl In Reports("name of form/report").Controls
Debug.Print ctl.Name
Next ctl
 
Back
Top