Hi, Thanks for ur reply
Regards Rajesh Kainikkara On 4/15/11, STDEV(i) <setiyowati.d...@gmail.com> wrote: > Sub ABCD() > Sheets("MySheet").Unprotect "yourpassword" > --- your program accessing to sheets("MySheet") > Sheets("MySheet").Protect "yourpassword" > End sub > > > On Fri, Apr 15, 2011 at 6:51 PM, Rajesh K R > <rajeshkainikk...@gmail.com>wrote: > >> Hi Experts, >> I want to password protect my work sheets, but the same time it is >> necessary to unprotect it for the running of macro so i have to give a >> code to unprotect them. how can I do it. >> Regards >> Rajesh kainikkara >> >> > > -- > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel