Excel Locking Freeze

sassriverrat

Well-known Member
Joined
Oct 4, 2018
Messages
655
I have an old excel sheet- never really ever had problems with it.

Anyway- recently put a print macro into it (see below) to add to the macro that was previously there (which gives you an idea how old this workbook is....) and now the two data-validation drop downs don't work (they show a circle with a slash when the mouse hovers over them) and the password-protection doesn't even allow me to input the password to unlock individual sheets. However, if I wait a few minutes sometimes it allows me to finally click unprotect and input the password....ideas?

Code:
Sub Alphabetize()'
' Alphabetize Macro
' Macro recorded 5/29/2003 by *****
'


'
    ActiveSheet.Unprotect
    Range("M4:AB32").Select
    Selection.Sort Key1:=Range("M4"), Order1:=xlAscending, Header:=xlGuess, _
        OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
    Range("K9").Select
    ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
    
End Sub


Sub PrintAREA()
'this is the piece I just wrote
ThisWorkbook.Worksheets(Array("Pilot Card", "Max Squat - UKC")).PrintOut
End Sub
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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