activesheet.unprotect

  1. W

    Worksheet Protection

    I have several protected worksheets with multiple passwords. I am not permitted to change the PW. I would like a script to unlock all the sheets so I thought of this, but it does not work. Any Ideas? Sub Un_Protect_All() awsn = ActiveSheet.Name For Each Sheet In Application.Worksheets...
  2. W

    Password unprotect sheets - multi passwords.

    I have a number of workbooks with different passwords. Sometimes worksheets within a workbook. I am not allowed to change them. So what I would like to do is loop thru all worksheets an try all the PW's But I cannot get this to work. Sub Un_Protect_All() awsn = ActiveSheet.Name For Each...
  3. S

    VBA - SelectionChange not working

    Hi I have the following code on Sheet3 of my workbook. Unfortunately, when C16 is either left blank, or "standard" is inserted, nothing happens - i.e. it does not hide rows or columns. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Application.EnableEvents = True...
  4. R

    ActiveSheet.Protect - Good?

    I have the following code, along with other VBA, attached to a command button. However, I have been told that using the ActiveSheet function can cause issues if another workbook is also open. If this is true, can someone help me piece together a better version of the below? Excel 2013 and up...
  5. B

    I have this marco that i need some help with.

    how do I get this marco to stop if there is no value in cell E3. Then let the user know that they must first enter a value in cell E3 before the marco will continue. answer = MsgBox(prompt:="Does CASH IN or CHIPS equalCHIPS OUT", Buttons:=vbYesNo + vbCritical, Title:="Update DaysValues") If...

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