Here is the code for protect/unprotect excel cell range using password.
Long li_return,li_row,li_col
String docpath,filename,data
Boolean lb_get
Oleobject ole_excel,ole_sheet
//To get the file path
li_return = GetFileOpenName("Select File",docpath,filename,"XLS","EXCEL...