Unprotecting a sheet once a text box is selected

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,352
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Can you unprotect a sheet once a text box is selected and then reprotect it again when it is unselected?

I do not want to use active x text boxes, just normal text boxes.
 
Ok ... you are using a SHAPE as a quasi "textbox". Do you already have code that works with it so it performs like a REGULAR TEXTBOX ?
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
That's how I did it, I couldn't remember, thanks Joe
 
Upvote 0
Ok ... you are using a SHAPE as a quasi "textbox". Do you already have code that works with it so it performs like a REGULAR TEXTBOX ?
Logit - see post #20
 
Upvote 0
In Excel 2007 when you insert a Rectangle shape, another small part of the Menu changes and has a TEXTBOX as a selection.

This has been a VERY, VERY good day. I learned two new things.

Thank you all !!!
 
Upvote 0
You're welcome, anyone have any ideas on my problem?
 
Upvote 0
@Logit
I don't have an older version, but using the method you show in your picture will be greyed out if there is already a box selected !
Unselect any existing boxes BEFORE trying to insert antoer !
 
Upvote 0
Sorry to be a bit thick but where do you mean when you say the form code window?
 
Upvote 0
In my vbe, all I can see is the sheet modules, ThisWorkbook module and the numbered modules. I don't know where you refer to as the form code window.
 
Upvote 0

Forum statistics

Threads
1,213,551
Messages
6,114,273
Members
448,559
Latest member
MrPJ_Harper

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top