Excel Macro; Adding Password
Solved/Closed
                    
        
                    zeromaim
    
        
                    Posts
            
                
            10
                
                            Registration date
            Monday July 28, 2008
                            Status
            Member
                            Last seen
            August  8, 2008
            
                -
                            Jul 29, 2008 at 10:51 AM
                        
Pujdo - Mar 13, 2013 at 10:39 AM
        Pujdo - Mar 13, 2013 at 10:39 AM
        Related:         
- Excel Macro; Adding Password
 - Excel online macros - Guide
 - Excel mod apk for pc - Download - Spreadsheets
 - Excel run macro on open - Guide
 - Kernel for excel repair - Download - Backup and recovery
 - Samsung duos reset password - Guide
 
5 responses
                
        
                    Ivan-hoe
    
        
                    Posts
            
                
            433
                
                            Registration date
            Saturday February 16, 2008
                            Status
            Member
                            Last seen
            October 17, 2008
            
            
                    110
    
    
                    
Aug 5, 2008 at 12:45 PM
    Aug 5, 2008 at 12:45 PM
                        
                            
                    Hello zero,
the syntax is quite simple
for more details, I suggest you type "worksheet.protect" and "worksheet.unprotect" in the help file of visual basic editor.
Ivan
            the syntax is quite simple
ActiveSheet.Unprotect ("MyPassWord")
'instructions
ActiveSheet.Protect ("MyPassWord") 
for more details, I suggest you type "worksheet.protect" and "worksheet.unprotect" in the help file of visual basic editor.
Ivan
                
        
                    zeromaim
    
        
                    Posts
            
                
            10
                
                            Registration date
            Monday July 28, 2008
                            Status
            Member
                            Last seen
            August  8, 2008
            
                    
Aug 8, 2008 at 07:30 AM
    Aug 8, 2008 at 07:30 AM
                        
                    Thanks Ivan.
How do I change the status of this topic to "resolved"?
Anton
            How do I change the status of this topic to "resolved"?
Anton
                        
                    Thanks Ivan!
                
                
            
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday January 28, 2010
                            Status
            Contributor
                            Last seen
            May  5, 2022
            
            
                    766
    
    
    
Jul 28, 2010 at 10:14 AM
Jul 28, 2010 at 10:14 AM
    Ram: what this question "i want those number in front add ''0" (Zero) how to 456789 11111 22222 33333", has to do with the thread ?
    
    
        
    
    
    
    
Aug 6, 2008 at 07:22 AM
Thanks for this, and other one as well.
I'm not actually a programer. I self-studied excel and i'm good at using formulas.
I just recently learn about macro and I used to just for recording to eliminate the circular ref error with formulas.
I was glad to have found this site and have read one of your response.
Thanks,
Anton
Oct 7, 2008 at 12:29 PM
ActiveSheet.Protect ("MyPassWord") DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowSorting:=True, AllowFiltering:=True, AllowUsingPivotTables:=True
This errors out when the Macro is ran. Is there a different Syntax for a case like this?
Oct 8, 2008 at 06:46 AM
try this syntax :
Ivan
Sep 9, 2009 at 07:12 AM
Sep 17, 2010 at 01:28 AM