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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top