Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy and Rename an Access FORM in VBA code 1

Status
Not open for further replies.

beckwiga

Programmer
Mar 30, 2005
70
Can anyone assist with this? I don't know how to code this in VBA. I want to copy an existing Form (which I have the name of) and rename the copy to something else. I want to do this with a Command button in my form. Any comments are appreciated. This is Access 2003. Thanks.
 
Take a look at the DoCmd.CopyObject method.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top