Excel表格网

excel文档如何设密码(怎么给excel文档设置密码)

来源:www.0djx.com  时间:2022-12-04 18:28   点击:238  编辑:表格网  手机版

1. 怎么给excel文档设置密码

首先打开你要加密的Excel表格,然后点击左上角【文件】-【文档加密】-【密码加密】,或者点击顶部【安全】-【文档加密】-【密码加密】,再输入两次打开文件的密码,最后点击底部【应用】,并保存更改即可。

2. 如何设置excel文档密码

1、找到要设置密码的WPS表格文件,双击打开,打开后,在WPS表格的左上角可以看到一个“WPS表格”图标,我们点击

  2、点击WPS表格按钮后,在弹出对话框里,我们选择右下角的“选项”图标

  3、在弹出的选项对话框里,我们点击选择左侧导航上的“安全性”选项,在右侧打开的安全性页面里可以看到密码保护,我们在密码保护下面可以设置打开权限和编辑权限。我们一次输入要设置的WPS密码,然后点击右下角的确定

  注意:设置好WPS密码保护后,我们要保存下WPS文档。

  4、设置了WPS保护密码后,下次我们在打开该WPS文档时就会弹出密码对话框,此时是打开WPS的密码,输入WPS密码后,点击确定,就可以安全打开WPS了。

  5、安全打开WPS保护的文档后,此时还会弹出密码对话框,这是对WPS编辑验证的密码,我们可以输入密码,点击确定,或者直接点击左下角的“只读”来打开保护的WPS文档

  二、WPS表格设置工作簿密码、表格保护密码

  1、我们可以设置WPS工作簿和工作表保护密码,在打开的WPS文档里,我们点击导航上面的“审阅”按钮

  2、点击后,会显示“保护工作表”和“保护工作簿”等选项。保护工作簿是对所有的工作表进行加密保护。而保护工作表就是对当前的加密进行保护。这里我就用保护工作表来演示。点击保护工作表

  3、点击保护工作表后,弹出保护工作表对话框,此时我们可以在密码下方的输入框里输入要设置的保护密码,在允许次工作表的所有用户进行下面我们一般勾选前面2个就好,根据自己需要来,然后点击确定

  4、点击后,此时WPS会弹出保护密码确认对话框,此时在重新输入密码下方的输入框里再次输入保护密码,然后点击确定

  注意:一旦设定的WPS工作表保护密码忘记后,是无法恢复的。

  5、下次我们在打开该WPS文档时候,我们点击审阅,在审阅下方可以看到“撤销工作表保护”图标,点击就会弹出撤销工作表保护对话框,然后输入密码点击确定,就可以取消WPS密码保护了

  以上步骤便是WPS表格加密设置方法,加密后的文档不仅仅打开需要密码,修改文档也需要密码。

3. excel文档设密码操作

单击上方的【文件-另存为】,点击【浏览】;弹出窗口中点击【工具】,选择【常规选项】;

弹出一个设置密码的对话框,打开权限密码和修改权限密码里,根据需求来设置;

点击保存后弹出替换文本界面选择【是】,关闭excel,再次打开时,需要输入密码。

4. excel文档设密码为什么会突然失效

EXCEL工作表保护密码破解

方法:

1\打开文件

2\工具---宏----录制新宏---输入名字如:aa

3\停止录制(这样得到一个空宏)

4\工具---宏----宏,选aa,点编辑按钮

5\删除窗口中的所有字符(只有几个),替换为下面的内容:(复制吧)

6\关闭编辑窗口

7\工具---宏-----宏,选AllInternalPasswords,运行,确定两次,等2分钟,再确定.OK,没有密码了!!

内容如下:

Public Sub AllInternalPasswords()

' Breaks worksheet and workbook structure passwords. Bob McCormick

' probably originator of base code algorithm modified for coverage

' of workbook structure / windows passwords and for multiple passwords

'

' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)

' Modified 2003-Apr-04 by JEM: All msgs to constants, and

' eliminate one Exit Sub (Version 1.1.1)

' Reveals hashed passwords NOT original passwords

Const DBLSPACE As String = vbNewLine & vbNewLine

Const AUTHORS As String = DBLSPACE & vbNewLine & _

"Adapted from Bob McCormick base code by" & _

"Norman Harker and JE McGimpsey"

Const HEADER As String = "AllInternalPasswords User Message"

Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04"

Const REPBACK As String = DBLSPACE & "Please report failure " & _

"to the microsoft.public.excel.programming newsgroup."

Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _

"now be free of all password protection, so make sure you:" & _

DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _

DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _

DBLSPACE & "Also, remember that the password was " & _

"put there for a reason. Don't stuff up crucial formulas " & _

"or data." & DBLSPACE & "Access and use of some data " & _

"may be an offense. If in doubt, don't."

Const MSGNOPWORDS1 As String = "There were no passwords on " & _

"sheets, or workbook structure or windows." & AUTHORS & VERSION

Const MSGNOPWORDS2 As String = "There was no protection to " & _

"workbook structure or windows." & DBLSPACE & _

"Proceeding to unprotect sheets." & AUTHORS & VERSION

Const MSGTAKETIME As String = "After pressing OK button this " & _

"will take some time." & DBLSPACE & "Amount of time " & _

"depends on how many different passwords, the " & _

"passwords, and your computer's specification." & DBLSPACE & _

"Just be patient! Make me a coffee!" & AUTHORS & VERSION

Const MSGPWORDFOUND1 As String = "You had a Worksheet " & _

"Structure or Windows Password set." & DBLSPACE & _

"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _

"Note it down for potential future use in other workbooks by " & _

"the same person who set this password." & DBLSPACE & _

"Now to check and clear other passwords." & AUTHORS & VERSION

Const MSGPWORDFOUND2 As String = "You had a Worksheet " & _

"password set." & DBLSPACE & "The password found was: " & _

DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _

"future use in other workbooks by same person who " & _

"set this password." & DBLSPACE & "Now to check and clear " & _

"other passwords." & AUTHORS & VERSION

Const MSGONLYONE As String = "Only structure / windows " & _

"protected with the password that was just found." & _

ALLCLEAR & AUTHORS & VERSION & REPBACK

Dim w1 As Worksheet, w2 As Worksheet

Dim i As Integer, j As Integer, k As Integer, l As Integer

Dim m As Integer, n As Integer, i1 As Integer, i2 As Integer

Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer

Dim PWord1 As String

Dim ShTag As Boolean, WinTag As Boolean

Application.ScreenUpdating = False

With ActiveWorkbook

WinTag = .ProtectStructure Or .ProtectWindows

End With

ShTag = False

For Each w1 In Worksheets

ShTag = ShTag Or w1.ProtectContents

Next w1

If Not ShTag And Not WinTag Then

MsgBox MSGNOPWORDS1, vbInformation, HEADER

Exit Sub

End If

MsgBox MSGTAKETIME, vbInformation, HEADER

If Not WinTag Then

MsgBox MSGNOPWORDS2, vbInformation, HEADER

Else

On Error Resume Next

Do 'dummy do loop

For i = 65 To 66: For j = 65 To 66: For k = 65 To 66

For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66

For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66

For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126

With ActiveWorkbook

.Unprotect Chr(i) & Chr(j) & Chr(k) & _

Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _

Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)

If .ProtectStructure = False And _

.ProtectWindows = False Then

PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _

Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _

Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)

MsgBox Application.Substitute(MSGPWORDFOUND1, _

"$$", PWord1), vbInformation, HEADER

Exit Do 'Bypass all for...nexts

End If

End With

Next: Next: Next: Next: Next: Next

Next: Next: Next: Next: Next: Next

Loop Until True

On Error GoTo 0

End If

If WinTag And Not ShTag Then

MsgBox MSGONLYONE, vbInformation, HEADER

Exit Sub

End If

On Error Resume Next

For Each w1 In Worksheets

'Attempt clearance with PWord1

w1.Unprotect PWord1

Next w1

On Error GoTo 0

ShTag = False

For Each w1 In Worksheets

'Checks for all clear ShTag triggered to 1 if not.

ShTag = ShTag Or w1.ProtectContents

Next w1

If ShTag Then

For Each w1 In Worksheets

With w1

If .ProtectContents Then

On Error Resume Next

Do 'Dummy do loop

For i = 65 To 66: For j = 65 To 66: For k = 65 To 66

For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66

For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66

For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126

.Unprotect Chr(i) & Chr(j) & Chr(k) & _

Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _

Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)

If Not .ProtectContents Then

PWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _

Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _

Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)

MsgBox Application.Substitute(MSGPWORDFOUND2, _

"$$", PWord1), vbInformation, HEADER

'leverage finding Pword by trying on other sheets

For Each w2 In Worksheets

w2.Unprotect PWord1

Next w2

Exit Do 'Bypass all for...nexts

End If

Next: Next: Next: Next: Next: Next

Next: Next: Next: Next: Next: Next

Loop Until True

On Error GoTo 0

End If

End With

Next w1

End If

MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER

End Sub

5. excel文档密码怎么设置

1打开要加密的excel表格,点击菜单栏的“文件”按钮,在弹出的页面选择“信息”按钮。

2点击页面右侧的“保护工作簿”按钮,在弹出的下拉菜单中选择“用密码进行加密”。

3在弹出的“加密文档”对话框中,输入要设置的密码,下次打开这个excel表格就会提示需要输入密码。

4如果要取消密码,和设置密码操作类似,点击“用密码进行加密”,将原先设置的密码删除,点击确定就可以了。

6. Excel文档怎么设密码

1.

打开EXCEL右键点击要设置密码的工作表。

2.

在出现的子菜单中选择"保护工作表“选项。

3.

在出现的提示框内编辑好密码。

4.

勾选用户可以进行的操作,点击“确定”。 这样一个工作表的密码就设置成功了。

7. excel文档设密码怎么取消

1、打开桌面上保存下来的win10excel文件,先前设置过密码的文档,输入密码即可;

2、点击“文件”,点击在左边一列中的“文档加密”会有一个右拉菜单,再点击“密码加密”;

3、之后会跳出“密码加密”的窗口,在“打开文件密码”,“再次输入密码”和“密码提示”的输入框中把密码都删除了之后,在按“应用”,等再次打开win10excel文件就不需要输入密码了

8. 文档怎么设置密码 excel

因为你把那个EXCEL文件不小心加密了。解决的步骤如下:

1.首先,我们点击打开我们电脑上面的excel,然后点击左上角的office按钮;

2.弹出的界面,我们点击准备;

3.弹出的界面,我们点击加密文档;

4.将密码设置为空,之后点击确定即可取消加密。这样就解决了2007 版本的 EXCEL 表格加密文档怎样取消的问题了。

9. 如何给excel文档设置密码

1打开excel文件,点击审阅-保护工作表

2出现菜单后,输入一个密码,点击确定

3出现菜单后,再次输入刚才设置的密码,点击确定

4当图标变为撤销工作表保护字样,就完成给excel文件加密码了。

10. excel文档设密码怎么设置

假如自己的文档中有不愿让人看见的小秘密,可以对Word或EXCEL文档进行加密。加密的方法主要有以下两种:由文件菜单设置:

1、打开(OPEN)要加密的Word或EXCEL文档。

2、选“文件”的“另存为”,出现“另存为”对话框,在“工具”中选“常规选项”,出现“保存”选项卡。

3、分别在“打开(OPEN)权限密码(PassWORD)”和“修改权限密码(PassWORD)”中输入密码(PassWORD)(这两种密码(PassWORD)可以相同也可以不一样)。

4、再次确认“打开(OPEN)权限密码(PassWORD)”和“修改权限密码(PassWORD)”。按“确定”退出“保存”选项卡。

5、文件存盘。由工具菜单设置:1、打开(OPEN)要加密的Word或EXCEL文档。2、选“工具”菜单的“选项”命令,出现“选项对话框”。3、在“选项”对话框中选“保存”选项卡。4、分别在“打开(OPEN)权限密码(PassWORD)”和“修改权限密码(PassWORD)”中输入密码(PassWORD),点“确定”退出。5、将文件保存。

顶一下
(0)
0%
踩一下
(0)
0%
相关评论
我要评论
用户名: 验证码:点击我更换图片