+ Reply to Thread
Results 1 to 2 of 2

Password protect a workbook created and emailed by a macro?

  1. #1
    isewdollies
    Guest

    Password protect a workbook created and emailed by a macro?

    I have created a macro which dynamically creates a workbook, emails it, and
    then creates another workbook with different information, emails it, etc. It
    is generating individualized workbooks by going down a list. What I want to
    do is to PASSWORD protect the workbook before it is emailed. I have tried
    it, and so far it protects the workbook, but without adding the password.
    The people I am sending this to enter information, and send it back, so I
    really don't want them unprotecting the sheet and messing it up (like they
    have been doing). Is there any way I can make the macro plug in the password
    automatically?

  2. #2
    kassie
    Guest

    RE: Password protect a workbook created and emailed by a macro?

    The SaveAs command has a password option as part of its arguments. It is
    case sensitive, and can be up to 15 characters long

    "isewdollies" wrote:

    > I have created a macro which dynamically creates a workbook, emails it, and
    > then creates another workbook with different information, emails it, etc. It
    > is generating individualized workbooks by going down a list. What I want to
    > do is to PASSWORD protect the workbook before it is emailed. I have tried
    > it, and so far it protects the workbook, but without adding the password.
    > The people I am sending this to enter information, and send it back, so I
    > really don't want them unprotecting the sheet and messing it up (like they
    > have been doing). Is there any way I can make the macro plug in the password
    > automatically?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1