View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default How could i enable insert picture from VBA?

Sub InsertPicture()

Activesheet.UnProtect Password:="ABCD"
' code to insert picture and position it
Activesheet.Protect Password:="ABCD"

End Sub

--
Regards,
Tom Ogilvy

"jose luis " wrote in message
...
Hello Friends,

I´m trying to insert a logo to a Excel file from VBA in a protected
worksheet. Could you give a hand to allow the user change the logo if
he needs it?

Thanks in advance,

Jose Luis


---
Message posted from http://www.ExcelForum.com/