Copy a cell content into a TextBox

G

Guest

Is there a way to copy a cell content into a TextBox with a macro? If i try
to register the steps it doesn't work.

I have to fill many textbox (is "textbox" correct? I've the italian version
and it's "casella di testo"..) at once with data from a form.

bye!
 
T

Tom Ogilvy

What kind of textbox. Is it from the control toolbox toolbar or from the
drawing toolbar. Where is the textbox located - Worksheet, Userform,
DialogSheet?

In any event, unless the length of the text is very long

object_qualifier.TextBox1.Text = Worksheets("Sheet1").Range("A1").Value
 

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