View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Carim Carim is offline
external usenet poster
 
Posts: 510
Default GetObject with Password


Hi,

If I understand you correctly, following should help :
YourObject.Workbooks.Open Filename:=YourFile, password:="ABCD"

HTH
Carim