Autofill userform

H

hngo

Hi,

I have create a userform to display the adress of emplyee (a macro
userform). The database is stored in a worksheet. The userform has the
following fields on it.

Name, Phone Number and address.

You can choose the name from the drop downbox.

What do we need to code for the form to automatically fill in the rest of
the information (phone number and address).

many thanks in advance
 
H

hngo

Mike,

My user form is a dialog sheet and I try to set an editbox name "delta"
equal to a worksheet name "material list" cell "d4". My code is as follows:
ActiveSheet.Shapes("delta").Text = Sheets("Material List").Range("D4")

I got an error for this code.

any idea
 

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