No, it is not possible. Forms, reports, and Module are all stripped of the VBA source code adn only have the compiled code. This helps protect your VBA code.Originally Posted by prabhafriend
That is correct.Originally Posted by prabhafriend
With a properly designed (normalized) database and Access forms and sub forms, you probably would never need to create a control at runtime.
If you are creating something to help a user design and build forms then I could see the need to open a form or report in design mode.