MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Public Function LockIt(ByVal nlValue As Integer, ByVal rangeIN As String) As Boolean On Error GoTo ErrHandler: Dim lLock As Boolean Dim lSuccess As Boolean If nlValue = 1 Then lLock = False Else lLock = True End If Sheet1.range(rangeIN).Locked = lLock Debug.Print Sheet1.range(rangeIN).Locked LockIt = lLock ErrCleanup: LockIt = lSuccess Exit Function ErrHandler: lSuccess = False MsgBox Err.Description, vbExclamation + vbOKOnly, "Error Encountered" Resume ErrCleanup End Function
|Excel formula need currency format||1||23|
|Need Help with Mapping ONLY||9||24|
|VBA - Transfer values from Master wb to all wbs. Delete old data, copy new data from master wb to user wbs located in a folder.||3||14|
|Copy cell contents for two columns and put into a comment for a cell in another column||6||12|