View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
danial mansoor danial mansoor is offline
external usenet poster
 
Posts: 2
Default password protection

wat is the vba code to protect sheet,wat i want if i pressed command
button sheet should be protected and set the password 123?

i also wanted to know is there a way to disable the ribbon using
macro?


can anyone one help me?