Assigning different subforms to a form using VBA

R

Robbie

I have a form whose subform is set via VBA. The subform to be used depends on
which button a user clicks to "access" the form. I set the selected subform
via the sourceObject property.

All works fine if the user has administrator permissions. However, if the
user is not an administrator, the following error message is generated:

"You don't have permission to insert this form into another form"

Is this normal? If so, is there another way to allow such a
non-administrator user to run VBA code that changes the subform within a form?

Thanks

ROBBIE
 

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

Top