inheritance module

  • Thread starter Thread starter @ndy
  • Start date Start date
@

@ndy

I've a the same form in Dutch and in French. There is an Access
database with all the users with their language preference. How can I
depending on the language of the person call a form in Dutch OR
French. Don't won't to program 2 times the form but do it with a
module or something like that.

Any help is welcome.
 
Does this work for you?

If you are willing to create a copy of your UserForm and Rename the forms:

Then
Create two UserForms named:
UserFormDutch
UserFormFrench

Assuming you are able to query the db and get the language for the User,
assign the Language to a Public variable, say Lang.

Then

Sub OpenUserForm()
UserForm & Lang.Show
End Sub
 

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

Back
Top