How to add a password to a document

Discussion in 'AutoCAD' started by Paul de Boer, Jul 14, 2004.

  1. Paul de Boer

    Paul de Boer Guest

    Hello, is it possible to add a password to a document using VBA. Many thanks,

    Paul
     
    Paul de Boer, Jul 14, 2004
    #1
  2. Paul de Boer

    Dragnsbld Guest

    ThisDrawing.Application.Documents.Open "C:\MyDrawing.dwg", , "MYPASSWORD"

    it's right in the VBA Help files under Password Property
     
    Dragnsbld, Jul 14, 2004
    #2
  3. Paul de Boer

    Paul de Boer Guest

    Ok i found that indeed in the help file but it doesn't say how to add a password on a document.
     
    Paul de Boer, Jul 14, 2004
    #3
  4. Paul de Boer

    Paul de Boer Guest

    Sorry about my previous comment, it is indeed in the help file. Many thanks for your quick help,

    Paul
     
    Paul de Boer, Jul 14, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.