Hi all,
Another question. Suppose you have protected worksheet, and you have put UserInterfaceOnly to true (you assumed you know what you do with your VBA code)
Is it possible to switch it temporarily to False without unprotecting and protecting again the worksheet?
The idea is to construct the code a little bit like that:
DO SOMETHING TO SWITCH USERINTERFACEONLY TO FALSE
On Error Resume Next
Selection.PasteSpecial Paste:=xlPasteValues
If err<>0 Then
GIVE ERROR MESSAGE
end if
On Error Goto 0
DO SOMETHING TO SWITCH USERINTERFACEONLY TO TRUE
Thanks in advance
Bookmarks