#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default XL2003

On a worksheet I have placed a TextBox from the ControlToolbox menu. I have
set the locked property to True, however I am amazed that I can still edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user to
change the text, but I cannot seem to find anyway of stopping the user from
just typing into the text box.

Why is the locked property not working?

Paul Smith


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default XL2003

Are you still in Design Mode? On the tools bar press the Triangle to exit
design mode.

"Paul W Smith" wrote:

On a worksheet I have placed a TextBox from the ControlToolbox menu. I have
set the locked property to True, however I am amazed that I can still edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user to
change the text, but I cannot seem to find anyway of stopping the user from
just typing into the text box.

Why is the locked property not working?

Paul Smith



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default XL2003

No I am not still in design mode.

I have also tried applying protection to the page to see if this invokes the
locking - it does not.



"Joel" wrote in message
...
Are you still in Design Mode? On the tools bar press the Triangle to exit
design mode.

"Paul W Smith" wrote:

On a worksheet I have placed a TextBox from the ControlToolbox menu. I
have
set the locked property to True, however I am amazed that I can still
edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user to
change the text, but I cannot seem to find anyway of stopping the user
from
just typing into the text box.

Why is the locked property not working?

Paul Smith






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default XL2003

How about disabling the Textbox
Textbox1.Enable = False

"Paul W Smith" wrote:

No I am not still in design mode.

I have also tried applying protection to the page to see if this invokes the
locking - it does not.



"Joel" wrote in message
...
Are you still in Design Mode? On the tools bar press the Triangle to exit
design mode.

"Paul W Smith" wrote:

On a worksheet I have placed a TextBox from the ControlToolbox menu. I
have
set the locked property to True, however I am amazed that I can still
edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user to
change the text, but I cannot seem to find anyway of stopping the user
from
just typing into the text box.

Why is the locked property not working?

Paul Smith







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default XL2003

That will disable the text box shading it's contents.

What I am asking is how or if i can make an activeX text box work on a
worksheet the same way it does on a user form. On a user form, locking the
control has an effect, on a worksheet it does not seem to.

Can anyone confirm this?



"Joel" wrote in message
...
How about disabling the Textbox
Textbox1.Enable = False

"Paul W Smith" wrote:

No I am not still in design mode.

I have also tried applying protection to the page to see if this invokes
the
locking - it does not.



"Joel" wrote in message
...
Are you still in Design Mode? On the tools bar press the Triangle to
exit
design mode.

"Paul W Smith" wrote:

On a worksheet I have placed a TextBox from the ControlToolbox menu.
I
have
set the locked property to True, however I am amazed that I can still
edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user
to
change the text, but I cannot seem to find anyway of stopping the user
from
just typing into the text box.

Why is the locked property not working?

Paul Smith












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default XL2003

The effect that I got with a textbox on a protected sheet and locked was that
i could not access the properties window to change any of the properties,
although I could change the text. I believe that is the design.

"Paul W Smith" wrote:

That will disable the text box shading it's contents.

What I am asking is how or if i can make an activeX text box work on a
worksheet the same way it does on a user form. On a user form, locking the
control has an effect, on a worksheet it does not seem to.

Can anyone confirm this?



"Joel" wrote in message
...
How about disabling the Textbox
Textbox1.Enable = False

"Paul W Smith" wrote:

No I am not still in design mode.

I have also tried applying protection to the page to see if this invokes
the
locking - it does not.



"Joel" wrote in message
...
Are you still in Design Mode? On the tools bar press the Triangle to
exit
design mode.

"Paul W Smith" wrote:

On a worksheet I have placed a TextBox from the ControlToolbox menu.
I
have
set the locked property to True, however I am amazed that I can still
edit
the text that is insdie the box.

I have actually written code on a button which should alloow the user
to
change the text, but I cannot seem to find anyway of stopping the user
from
just typing into the text box.

Why is the locked property not working?

Paul Smith











Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL2003 and tab colours Jack Sheet New Users to Excel 5 August 13th 06 08:57 AM
xl2003/vba and Acrobat 6.0 Gixxer_J_97[_2_] Excel Programming 1 September 10th 05 07:35 PM
XL2003 Add Ins Melissa[_2_] Excel Programming 1 October 22nd 03 07:24 PM
xl2003 and VS Alex T Excel Programming 2 September 22nd 03 10:26 AM
xl2003 GUS Excel Programming 0 September 18th 03 08:16 PM


All times are GMT +1. The time now is 03:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"