Skip i'r prif gynnwys

Sut i amddiffyn nifer o daflenni gwaith ar unwaith yn Excel?

Os oes gennych lyfr gwaith yn cynnwys nifer o daflenni gwaith gwarchodedig gyda'r un cyfrinair, ac yn awr mae angen i chi eu gwarchod er mwyn addasu rhywfaint o wybodaeth. Efallai, gallwch amddiffyn y dalennau fesul un gyda Unprotect Sheet yn Excel, ond bydd hyn yn gwastraffu llawer o amser pan fydd angen i lawer o ddalennau fod heb ddiogelwch. Yma, byddaf yn cyflwyno rhai ffyrdd cyflym ichi i amddiffyn nifer o daflenni gwarchodedig.

Amddiffyn dalennau lluosog ar unwaith gyda chod VBA

Dad-ddiogelwch dalennau lluosog ar unwaith gyda Kutools ar gyfer Excel


swigen dde glas saeth Amddiffyn dalennau lluosog ar unwaith gyda chod VBA

Os ydych chi'n dda am god VBA, gall y cod canlynol fod o gymorth i chi yn gyflym i amddiffyn nifer o daflenni ar unwaith.

1. Daliwch i lawr y ALT + F11 allweddi, ac mae'n agor y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

2. Cliciwch Mewnosod > Modiwlau, a gludwch y cod canlynol yn y Ffenestr Modiwl.

Sub unprotect_all_sheets() 
On Error Goto booboo 
unpass = InputBox("Please enter the password:") 
For Each Worksheet In ActiveWorkbook.Worksheets 
Worksheet.Unprotect Password:=unpass
Next
Exit Sub 
booboo: MsgBox "There is s problem - check your password, capslock, etc." 
End Sub 

3. Yna pwyswch F5 allwedd i redeg y cod, a nodi'r cyfrinair rydych wedi'i wneud ar gyfer y taflenni gwarchodedig. (rhaid i'r taflenni gwarchodedig fod â'r un cyfrinair) Gweler y screenshot:

4. Cliciwch OK, ac mae'r dalennau gwarchodedig wedi bod yn ddiamddiffyn ar unwaith.


swigen dde glas saeth Dad-ddiogelwch dalennau lluosog ar unwaith gyda Kutools ar gyfer Excel

Kutools ar gyfer Excel'S Taflen Waith Amddiffyn yn offeryn defnyddiol a all eich helpu yn gyflym i amddiffyn nifer o daflenni gyda'r un cyfrinair ar unwaith.

Kutools ar gyfer Excel : gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod

Ar ôl gosod Kutools ar gyfer Excel, gwnewch fel a ganlyn:

1. Cliciwch Kutools Byd Gwaith > Taflen Waith Amddiffyn, gweler y screenshot:

2. Yn y Taflen Waith Amddiffyn blwch deialog, rhestrir y taflenni gwarchodedig yn y Taflen Waith blwch rhestr, yna gwiriwch enwau'r ddalen rydych chi am eu hamddiffyn, a chlicio OK, yna rhowch y cyfrinair rydych chi wedi'i wneud ar gyfer y taflenni gwarchodedig (rhaid i'r taflenni gwarchodedig fod â'r un cyfrinair) yn y blwch deialog popped out, gweler y screenshot:

3. Ac yna cliciwch OK, bydd blwch prydlon yn eich atgoffa faint o daflenni sydd heb ddiogelwch. Yna cliciwch OK, mae'r holl daflenni a ddewiswyd wedi cael eu gwarchod yn eich llyfr gwaith. Gweler y screenshot:

Awgrym: Er mwyn amddiffyn yr holl daflenni gwaith yn eich llyfr gwaith ar unwaith, does ond angen i chi wneud cais Taflen Waith Amddiffyn of Kutools ar gyfer Excel fel y dangosir y screenshot canlynol:

Dadlwythwch a threial am ddim Kutools ar gyfer Excel Nawr!


swigen dde glas saeth Demo: Amddiffyn a Dad-ddiogelu taflenni lluosog ar unwaith gyda Kutools ar gyfer Excel

Kutools ar gyfer Excel: gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod. Dadlwythwch a threial am ddim Nawr!

Erthygl gysylltiedig:

Sut i amddiffyn nifer o daflenni gwaith ar unwaith yn Excel?

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Nice - thank you so much! Worked like as charm.

I assume there is also a "Lock Everything back Up" Option??
This comment was minimized by the moderator on the site
This code worked for years, but now it doesn't :( It always says password error, but if I individually unlock each tab it is fine. Did something change with excel to wreck the code?
This comment was minimized by the moderator on the site
Hello, LL,
I have tested the code, it works well in my workbook, could you upload your file here if you don't mind? we can help to check the problem.
Or you can try our KTE feature this article introduces, it supports a 30-day free trial with full features, you can download it here: https://www.extendoffice.com/download/kutools-for-excel.html.

Thank you!
This comment was minimized by the moderator on the site
Hi,

in my work i have to deal every day with multiple excel files , and inside each one protect sheets, all has same password , 7b7b3b1b5b5b5 is there any way to unprotect all the sheets inside for example ( 100 excel files and more ).

best regards,
This comment was minimized by the moderator on the site
Hello Ali,

Glad to help. You can use our Decrypt workbooks feature of Kutools Plus of Kutools for Excel. You can choose no matter how many files, then input the passward. Just a few clicks and all is done. Please see the screenshots.

Our Kutools for Excel supports a 30-day free trial with full features. Here is the download link: https://www.extendoffice.com/download/kutools-for-excel.html. Plesae have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
I just installed it, but I don't see the "Enterprise" tab on the menu. I wanted to test the feature to unprotect multiple sheets at once, but can't find that feature anywhere. The options I have on my menu are Kutools and Kutools Plus, but not Enterprise. What am I missing?
This comment was minimized by the moderator on the site
Hello, Paulo,
Sorry for this, the Enterprise tab has been renamed as Kutools Plus, you can find the Unprotect Worksheet from the Kutools Plus tab, please check the below screenshot:
This comment was minimized by the moderator on the site
When you say "Unprotect multiple sheets at once with Kutools", does it actually do it at once, in parallel, or does it still do it sequentially? (Does this provide a speed improvement over doing it sequentially?) thank you
This comment was minimized by the moderator on the site
Is it possible to lock sheets, but retain the ability to add rows and use filters.
This comment was minimized by the moderator on the site
worked !! thanks handy command
This comment was minimized by the moderator on the site
Hello Sir, unprotect multiple sheets at once is very useful for me. thanks!
This comment was minimized by the moderator on the site
I downloaded the kutools (trial version) and installed it as an administrator. I opened a workbook that had 12 worksheets that were protected with same password. Ran the unprotect utility and followed instructions. it said that all Sucessfully unprotected 12 sheets. when I tried to edit them it said the worksheet is password proctected. It did not work. I am not doing something correctly.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations