Text box value to userform

D

Do

Hi

In my sheet i have a text box. Whats the VBA code for loading the Text Box
13 value into combobox1 on a userform on 'initialize'`


/Do
 
R

Rick Rothstein

In my sheet i have a text box. Whats the VBA code for loading the
Text Box 13 value into combobox1 on a userform on 'initialize'`

Try this line of code...

Me.ComboBox1.AddItem Worksheets("Sheet6").Shapes("Text Box
13").OLEFormat.Object.Text
 
D

Do

Rick Rothstein said:
Try this line of code...

Me.ComboBox1.AddItem Worksheets("Sheet6").Shapes("Text Box
13").OLEFormat.Object.Text

Thx Rick - works perfect ;o)

Do/
 

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