I'm converting an access program into VB. The app has many screens that can be accessed in many orders. The names of the screens are placed in a stack, so they can be displayed in the right order.

the name of the from is retreived, and stored in the string DocName, and the VBA code uses

docmd.openForm DocName, , , LinkCriteria

to display whatever form is needed next.

This may sound like a stupid question, but how do I get VB to show the form who's name is contained in DocName????