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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,215,480
Messages
6,125,047
Members
449,206
Latest member
Healthydogs

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