OLEobject properties at run time

  • Thread starter Thread starter User
  • Start date Start date
U

User

Good afternon, my question is, how can I change the OLEobject properties of
a textbox control at run time?

any suggestions?
 
ActiveSheet.OLEObjects("textbox1").Object.BackColor = &H8080FF

is one way.
 
Thanks for responding, in my case I need to change the property
"EnterKeyBehavior" to true, how make it?

Besides, how make for viewing the diferent methods and properties that it
expose

Excuse me for my bad english, I'm from latin america
 
ActiveSheet.OLEObjects("textbox1").Object.EnterKeyBehavior = True

If you go into design mode (another button on that Control toolbox toolbar), you
can select the textbox and look at all the properties.

Then try changing a few manually (you'll see the options) and then see if it
works in code.
 
Thanks Dave, your solution is just what I needed, you is very good
professional! ;-)

Greetings from Colombia!
 

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