Mayur Dubey
unread,Feb 27, 2011, 5:15:51 PM2/27/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to penc...@googlegroups.com
नमस्कार,
मेरे पास एक एक्सेल फाइल है, मैं जिसकी सभी शीट्स के उन सेल्स जिनमे फार्मूला लगा है, पासवर्ड प्रोटेक्ट करना चाहता हूँ, इसके लिए मुझे अंतरजाल पर एक vba कोड भी मिला है , पर मुझे चलाना नहीं आ रहा है , क्या आपमें से कोई इस काम मे मेरी मदद कर सकता है ,
vbs code यह है :-
Sub unpro()
' Keyboard Shortcut: Ctrl+u
'
Dim w As Worksheet
For Each w In Worksheets
w.Unprotect ("fcc")
Next
End Sub
Sub protect()
' Keyboard Shortcut: Ctrl+p
'
Dim w As Worksheet
For Each w In Worksheets
w.protect Password:="fcc"
Next
Sheet20.Unprotect ("fcc")
Sheet65.Unprotect ("fcc")
End Sub
साथ ही मैं फाइल भी संलग्न कर रहा हूँ, यदि आप कर के देखना चाहें तो , उदहारण के लिए.
Thanks & Regards
--------------------
Mayur Dubey
Bhopal
9826256446
Rise And Rise Again Until Lambs Become Lions .