activesheet.protect

  1. R

    Update link faulting

    Debugger brings me to this line below in red. My file activityreportdatabase.xlsx is in the correct location and is not opened. I can manually update link with this file but it goes to the debugger when I do it with this script. The cursor in the debug window in on the line with...
  2. V

    Urgent Help - VBA Macro_Need Guidance

    Below Macro is giving error message. Need urgent help.. Sub sbUnProtectSheet() ActiveSheet.Unprotect "9999" Set SourceRange = ActiveSheet.Range("B10:H10") Set FillRange = ActiveSheet.Range("B11:H39") SourceRange.AutoFill.FillRange Range("B11").Select ActiveSheet.Protect "9999"...
  3. S

    What password did my macro use ??? - HELP

    I ran a macro against a number of Excel workbooks to correct and error that I had found with some forms we use for recording time. The problem is that I put the incorrect syntax into the macro, strangely it still ran ? Syntax I should have used - ActiveSheet.Protect Password:="password" Here...
  4. V

    Filter on protected sheet

    Hello all I am trying to protect part of my worksheet but still allow sort by filter but this line of code that I put together is not working out, any idea's please Rows("14:1048576").Select Selection.Locked = False Selection.FormulaHidden = False ActiveSheet.Protect...
  5. K

    row highlight code doesnt work in Shared WorkBook

    Dear All, Following code is to highlight the Row in the given range when a cell is selected. This codes works perfectly alright until the time the workbook is Shared. "Application defined or Object defined error" is shown when the workbook is Shared. Private Sub Worksheet_SelectionChange(ByVal...
  6. T

    Add Sort Condition

    Hi I have the below sort which just uses I4:I28 etc as the asending sort what would below look like if I wanted to firstly sort F4:F28 in the order "Active then Inactive then extra" and then sort I4:I28 ascending for below rows Sub TestSort() ActiveSheet.Unprotect Range("4:28").Sort...
  7. ExcelNovice

    Macro issues when I protect my worksheet

    I'm using the code below, but keep getting the following error: Run-time error '1004' Private Sub CommandButton31_Click() ActiveSheet.Unprotect Password:="password1" Range("AA57:AA57").Select Range("AA57:AA57").Activate Selection.RowHeight = 12.75 Range("AA58:AA58").Select...

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