Hi there,
Can anyone help me with the code reqired to copy a user form from one project to another? I suspect I would need to export it to a temp. file and then import that file in my new project.
Thank you!
Hi there,
Can anyone help me with the code reqired to copy a user form from one project to another? I suspect I would need to export it to a temp. file and then import that file in my new project.
Thank you!
you can use this code to export the file:
and this code to import it in another project:![]()
Please Login or Register to view this content.
I hope that is what you were looking for,![]()
Please Login or Register to view this content.
Mohammad
That is exactly what I was looking for, however, it doesn't work. That is the code I am using, but for some reason, it's not importing the userforms into the new project. Any suggestions? Based on the code above, where would I go to look for the temp file to see if it's even being exported properly?
Thank you.
figured it out. it's a security setting. you have select trust access from projects for the project to copy the forms and modules.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks