Printing a list of controls

J

Jim Pockmire

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

Marshall Barton

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
 
Top