SysAdmin05
MIS
I've had the request to figure out how to insert a picture into a locked worksheet in Excel 2003. Currently it is not possible to copy/paste into a locked sheet, nor go to Insert picture from file. The options are grayed out. Do I need to use a macro to do this? If so could someone please help me with this?
Here is what I've come up with so far (password is stored on a separate sheet called Parameter). Am I on the right track?
Sub Macro1()
ActiveSheet.Unprotect Password:=Sheets("Parameter").Range("A1")
dlgAnswer = Application.Dialogs(xlDialogBrowse).Show
End Sub
Sub Macro2()
ActiveSheet.Protect Password:=Sheets("Parameter").Range("A1")
End Sub
Here is what I've come up with so far (password is stored on a separate sheet called Parameter). Am I on the right track?
Sub Macro1()
ActiveSheet.Unprotect Password:=Sheets("Parameter").Range("A1")
dlgAnswer = Application.Dialogs(xlDialogBrowse).Show
End Sub
Sub Macro2()
ActiveSheet.Protect Password:=Sheets("Parameter").Range("A1")
End Sub