ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   text boxes (https://www.excelbanter.com/excel-programming/437489-text-boxes.html)

Dawna

text boxes
 
Hi all,

I have a textbox within a userform that displays a value. I don't want any
users to be able to edit this information. How do I go about this?

Thanks in advance
Dawna

ZootRot[_3_]

text boxes
 
Set the "enabled" property to false.


"Dawna" wrote in message
...
Hi all,

I have a textbox within a userform that displays a value. I don't want any
users to be able to edit this information. How do I go about this?

Thanks in advance
Dawna




Rick Rothstein

text boxes
 
Change its Locked property for the TextBox to True in the Properties Box.

--
Rick (MVP - Excel)


"Dawna" wrote in message
...
Hi all,

I have a textbox within a userform that displays a value. I don't want any
users to be able to edit this information. How do I go about this?

Thanks in advance
Dawna



Rick Rothstein

text boxes
 
Note... the difference between my suggestion and ZootRot's suggestion is
mine allows the user to copy data from the TextBox to the Clipboard whereas
ZootRot's does not.

--
Rick (MVP - Excel)


"Rick Rothstein" wrote in message
...
Change its Locked property for the TextBox to True in the Properties Box.

--
Rick (MVP - Excel)


"Dawna" wrote in message
...
Hi all,

I have a textbox within a userform that displays a value. I don't want
any
users to be able to edit this information. How do I go about this?

Thanks in advance
Dawna




Dawna

text boxes
 
Thank you both for the replies. That's exactly what I needed.

"Rick Rothstein" wrote:

Note... the difference between my suggestion and ZootRot's suggestion is
mine allows the user to copy data from the TextBox to the Clipboard whereas
ZootRot's does not.

--
Rick (MVP - Excel)


"Rick Rothstein" wrote in message
...
Change its Locked property for the TextBox to True in the Properties Box.

--
Rick (MVP - Excel)


"Dawna" wrote in message
...
Hi all,

I have a textbox within a userform that displays a value. I don't want
any
users to be able to edit this information. How do I go about this?

Thanks in advance
Dawna



.



All times are GMT +1. The time now is 05:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com