Vba protected cells
Solved/Closed
                    
        
                    SARC
    
        
                    Posts
            
                
            29
                
                            Registration date
            Saturday  7 August 2010
                            Status
            Member
                            Last seen
            31 August 2010
            
                -
                            18 Aug 2010 à 07:37
                        
SARC - 20 Aug 2010 à 14:23
        SARC - 20 Aug 2010 à 14:23
        Related:         
- Vba protected cells
 - Vba case like - Guide
 - Excel online vba - Guide
 - Vba timer - Guide
 - Vba color index - Guide
 - Vba excel mac - Guide
 
2 responses
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday 28 January 2010
                            Status
            Contributor
                            Last seen
             5 May 2022
            
            
                    766
    
    
                    
18 Aug 2010 à 07:46
    18 Aug 2010 à 07:46
                        
                    record the protection action and see what codes it generate. then use it
                
                
            
                        
                    thanks..
these are the codes i got from recording the protection... but it doesn seem to record the select locked cells action.....
            these are the codes i got from recording the protection... but it doesn seem to record the select locked cells action.....
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday 28 January 2010
                            Status
            Contributor
                            Last seen
             5 May 2022
            
            
                    766
    
    
    
20 Aug 2010 à 08:11
20 Aug 2010 à 08:11
    I think thats is triggered by
Activesheet.EnableSelection = xlUnlockedCells
These are three values that you can use
xlNoSelection
xlNoRestrictions
xlUnlockedCells
    Activesheet.EnableSelection = xlUnlockedCells
These are three values that you can use
xlNoSelection
xlNoRestrictions
xlUnlockedCells