Lock Unlock (vba)

  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Lock Unlock (vba) as PDF for free.

More details

  • Words: 122
  • Pages: 1
Sub Desprotege_Planilhas() Dim i As Integer ' faz um loop nas planilhas padr�o do excel ' caso haja mais do que 03 planilhas a serem desprotegidas altere o numero 3 pra a quantidade desejada For i = 1 To 13 Sheets(i).Unprotect Password:="" ' onde 123 � a senha informada Next i MsgBox "Planilhas desprotegidas com sucesso!!!" ' mensagem opcional End Sub Sub Protege_Planilhas() Dim i As Integer ' faz um loop nas planilhas padr�o do excel ' caso haja mais do que 03 planilhas a serem desprotegidas altere o numero 3 pra a quantidade desejada For i = 1 To 13 Sheets(i).Protect Password:="" ' onde 123 � a senha informada Next i MsgBox "Planilhas protegidas com sucesso!!!" ' mensagem opcional End Sub

Related Documents

Lock Unlock (vba)
December 2019 10
Unlock Sheet
May 2020 13
Vba Word.docx
December 2019 18
Unlock - Demo.pdf
April 2020 26
Vba Course
May 2020 5
Standard Vba
May 2020 14