pwd

  1. N

    Protect/Unprotect Excel VBA Error

    Can anyone tell me why this is not working correctly? I can protect all the sheets but when I go to unprotect the sheets I get the error message? Sub protectsheets() Dim wsheet As Worksheet Dim Pwd As String Pwd = InputBox("Password:", "Protect Sheets") For Each wsheet In...
  2. F

    Opening a protected book from cmd, passing pwd as a parameter.

    Hello! I need to open a protected book reading a BAT file, in a silent way, without messages or alerts. Perhaps including the pwd as a parameter in the command line but I couldn't find how to do it. Thanks in advance.
  3. P

    Connections to multiple Databases with excel vba

    Hello, I should make excel vba that queries 80 databases and writes the info in excel. Is this possible and how to connect to 80 databases? Here is example with the connction to one database: Sub ConnectTOOracle() Dim cn As New ADODB.Connection Dim RS As New ADODB.Recordset Dim Cmd As New...
  4. M

    Password Protect a Worksheet from Viewing

    Hi I want users to be able to click on a worksheet and then be prompted to enter a password before they can view it. I found this on another thread but a row of code is highlighted in red and it doesn't seem to work. I get Compile Error Syntax Error. Public PvSh As String Public Pwd As...
  5. A

    Encrypting PDF documents using macros

    Dear experts. Please can you help me with this macro. The below code converts the excel sheet to pdf. and then password protects the pdf. using passwords i already have in sheet1. My problem is that, i already have hundreds of pdf. letters in a folder that i need to have it password protected...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top