Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make a textbox Read Only using Excel 2000 VBA

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
Hi, I just want to know how to make a textbox read only without setting the enabled property to false.

I use a method called setfocus on these textboxes which requires them to be enabled.

Any help would be appreciated.




 
If you are using controls on a user form, you can set the locked property to true, and still set Focus to the object. I am not sure why the object would need focus if it is read only though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top