Hi Alf.
It actually works - Thank you very much
The workbook is attached.
I inserted this code below in the Password Form, which show and unprotect all.
And this in the CallBackRibbon module Button1, which hide and protect all.
Now I only have two problems
1.When I use Application.DisplayFormulaBar = True/False, is it global, which mean the formula bar is hidden in all Excels, including a new opened Excel too.
I only need it to be hidden in this Workbook.
I can't get ActiveWindow.DisplayFormulaBar = True/False in each sheets to work.
Do you know a code for that ?
2.When I protect/unprotect the workbook, I use "Next sheet" and protect/unprotect all sheets in the same code.
It should be possible to do the same with the "Display", instead of pinpointing each sheet.
Do you know how to include that in the Display Code ?
Thank you in advance
Ib
Denmark
Bookmarks