Options to uncheck tab need vb to...

greegan

Well-known Member
Joined
Nov 18, 2009
Messages
618
make this locked or something
is there anything that can be done so the user cannot undo this without a password?
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

xenou

MrExcel MVP, Moderator
Joined
Mar 2, 2007
Messages
16,687
Office Version
2013
Platform
Windows
Workbooks can be protected (sheets are locked). Sheets can also be protected (cells are locked). And vba projects can be protected (VBA is locked). But Excel is not inherently secure so don't invest too much time in all of this - all such passwords can be cracked without too much trouble - by anyone with a determination to break your code, anway.
 

greegan

Well-known Member
Joined
Nov 18, 2009
Messages
618
I understand about the passwords being cracked but I just want to prevent "computer challenged" coworkers from messing up a file.
I've got it protected to an extent. I just wanted to know if a change of the options (specifically to the workbook) could be prevented.
I get that the answer is there is no way to do that.
I have unchecked the box to show tabs. I have removed headers and row indicators and I have locked the first tab. This is a tab with instructions of how to use the workbook and its macro, and the other tabs which are used for my macro I have not locked. I don't necessarily want to. That is why I have asked this specific question. Thank you for the assistance.
 

xenou

MrExcel MVP, Moderator
Joined
Mar 2, 2007
Messages
16,687
Office Version
2013
Platform
Windows
I have unchecked the box to show tabs. I have removed headers and row indicators and I have locked the first tab
That sounds like it should do the trick, I guess. Are you not satisfied with the result? I'm not good at "locking down" workbooks because I don't do this myself - better to have something that is intuitive and does the job so well that users want to use your macros just the way they are intended to work. Invest a little bit of time in training. And keep a backup for the unexpected.

&$958;
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,573
Messages
5,512,132
Members
408,881
Latest member
Pooxie

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top