View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave[_11_] Dave[_11_] is offline
external usenet poster
 
Posts: 41
Default How to hide "View Code"

Hi,
I am on Excel 2003.
I have a spreadsheet I am using the following property in a macro ,
the user can still view the "View Code" when they write click on a
tab. I would like that the "View Code" option be grayed out also along
with all the other options(which they are now)

ActiveWorkbook.Protect Password:="XXX", Structu=True

thanks in advance,

Dave