Use Macros on Password Protected Worksheets in Excel

  Рет қаралды 39,426

TeachExcel

TeachExcel

Күн бұрын

Пікірлер: 29
@HawaiianNoona
@HawaiianNoona 3 жыл бұрын
amazing! I've been trying to run a clear macro on a protected sheet with no success. This is so elegant and simple. Thank you
@621prakash
@621prakash 7 ай бұрын
Best tutorial on KZbin!
@M4rt1nX
@M4rt1nX 4 жыл бұрын
Thanks a lot. Finally a protection code that actually works.
@xyrusangelosalvosa8985
@xyrusangelosalvosa8985 2 жыл бұрын
It worked for our project! Thank you.
@Lodgeitude
@Lodgeitude 4 жыл бұрын
Thanks. This is just the information I've been looking for. Solved my issue.
@marleyroyce3684
@marleyroyce3684 3 жыл бұрын
instaBlaster
@melkamzenatube8000
@melkamzenatube8000 4 жыл бұрын
I love so much bro, you did a lot to me
@abdullahalshaikh39
@abdullahalshaikh39 4 жыл бұрын
Thanks, What I exactly needed, Spot on
@jadeelliott7124
@jadeelliott7124 3 жыл бұрын
Thanks so much! What I needed:).
@jstan3076
@jstan3076 3 жыл бұрын
That's great tutorial. Can you do one with VBA Button to run with Protected sheet Please
@wizzarin424
@wizzarin424 Жыл бұрын
NEED HELP - When I password protected by sheet I added "format cell", "Format columns" and "format rows" from the selection in the password "Allow all users of this worksheet to:" pick list. I did add that ActiveSheet.Protect "123" to my macro, The PROBLEM when I ran the macro, the protection diverted back to the basic "Select Locked Cells" and "Select Unlocked Cells" only and removed what I added. So after running the macro I no longer was able to format. How can I keep what I select in the Protect Sheet drop-down list? (using Excel 2019)
@Dr333Ow
@Dr333Ow Ай бұрын
I have the same issue, I allowed pivot table use while protected, after running the Macro it protects the sheet again but without the pivot table use.
@Dr333Ow
@Dr333Ow Ай бұрын
Figured it out, ActiveSheet.Protect AllowUsingPivotTables:=True
@wizzarin424
@wizzarin424 Ай бұрын
@@Dr333Ow thank you, I'll give it a try, I'm assuming in the macro I'm adding the line " ActiveSheet.Protect AllowUsingPivotTables:=True" If I understand your correctly.
@anil11996
@anil11996 3 жыл бұрын
Sir, how to protect workbook without opening into d:drive with all files in many folders and sub folders
@abdulrahmanbalafaringani8859
@abdulrahmanbalafaringani8859 Жыл бұрын
I protected my diagrams from being selected or edited with password but after applying some macro on the sheet the diagrams on the sheet became selectable and editable even protected with password. It like the protection does not work anymore when I apply micro. Please help.
@roaamer76
@roaamer76 3 жыл бұрын
I am trying to input the code into my macro in Excel 2016 but it gives me an error: Run-time error 1004 Application-defined or object-defined error Could you please assist?
@jordanrouse2029
@jordanrouse2029 4 жыл бұрын
Thank you!
@rajkumarkarapa
@rajkumarkarapa 4 жыл бұрын
i dont like to write password in macros. is there any solution to run macros in protected sheet
@TeachExcel
@TeachExcel 4 жыл бұрын
Password protect the project and no one can see inside of it.
@cmlosaria
@cmlosaria 4 жыл бұрын
I cannot use slicers and Macros simultaneously. When I ran the macro using this method, the slicer becomes disabled again. So I need to unprotect everytime
@kishsand5385
@kishsand5385 4 жыл бұрын
When i used the code it says the document is not open on the line " if activesheet.protectcontents" .. Can you please help me in this
@TeachExcel
@TeachExcel 4 жыл бұрын
Close other workbooks except the one with the code and try again. If that doesn't work, upload the code that you are using with a sample file in our forum and ask there and it will be easier to troubleshoot: www.teachexcel.com/talk/microsoft-office?src=yt_comment
@TBsThaiBoxing
@TBsThaiBoxing 5 жыл бұрын
Nice! Thanks. (Subbed)
@wayneedmondson1065
@wayneedmondson1065 5 жыл бұрын
Thanks.. good tips on PW protecting and worksheet security. Thanks for the insights.. learned something new.. particularly the UserInterfaceOnly:=True argument. Thumbs up!!
@TeachExcel
@TeachExcel 5 жыл бұрын
Glad I could throw-in some new info! I do like that little feature, but, oddly enough, I have yet to see it widely used - maybe its just that not many people know about it; I'm hoping it's that instead of that there is some way it causes massive problems down the road that I didn't notice hah. I'll mark it for a Quickie tutorial down the road so more people will learn about this specific feature of macro sheet protection.
@abdelrahmangharieb486
@abdelrahmangharieb486 3 жыл бұрын
Thanks. This is just the information I've been looking for. Solved my issue
@TeachExcel
@TeachExcel 3 жыл бұрын
I am very glad to hear this!!! You are most welcome :)
@JC-jf8bi
@JC-jf8bi 2 жыл бұрын
Thank you!
How to Create & Use Excel Macros (Real world example)
10:09
Leila Gharani
Рет қаралды 1,7 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 116 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 17 МЛН
Password Protect & Hide Worksheets in Excel
14:04
TeachExcel
Рет қаралды 60 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 923 М.
Excel, Password Protect and hide Worksheets. PRIVATE WORKSHEETS.
10:21
Unlock Excel Secrets: Magic Search Bar You NEVER Knew About!
17:59
PK: An Excel Expert
Рет қаралды 542 М.
Learn Excel MACROS in 10 Minutes Using Real World Examples
9:13
Kenji Explains
Рет қаралды 1,1 МЛН
Run VBA Code on Protected Worksheet
13:31
Dinesh Kumar Takyar
Рет қаралды 91 М.
How to Create and Use Excel Macros 😎
13:43
Website Learners
Рет қаралды 86 М.