View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mccann_mj mccann_mj is offline
external usenet poster
 
Posts: 6
Default VBA in Excel Open properties

I have an Excel 2007 file that when opened, asks for a password, but if you
don't have the password, will open as a read only (using the "Save As",
tools, General Options). I have a userform that opens upon opening the
workbook. I'm trying to find a way that if the password is not used, the form
does not open up; if the password is used, the form pops up. Is there an open
property I can "read" to determine if the password was used?

--
Michael JM