文档库 最新最全的文档下载
当前位置:文档库 › Excel中 被锁定的单元格如何解锁

Excel中 被锁定的单元格如何解锁

Excel中 被锁定的单元格如何解锁
Excel中 被锁定的单元格如何解锁

1.打开文件。

2.工具---宏----录制新宏---输入名字,如“aa”。

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

4.工具---宏----宏,选“aa”,点编辑按钮。

5.删除窗口中的所有字符,替换为下面的内容:

Option Explicit

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

6.关闭编辑窗口。

7.工具---宏-----宏,选AllInternalPasswords,运行,确定两次,等2分钟,再确定即可完

成操作。

excel如何固定表格

竭诚为您提供优质文档/双击可除excel如何固定表格 篇一:怎样将excel表中部分单元格锁定 如何将excel表中部分单元格锁定? 全选工作表, 格式——单元格——保护 把“锁定”那个选定取消掉 选中需要保护的部分, 格式——单元格——保护 设为锁定。 然后工具——保护——保护工作表可以设密码 就是说,当工作表被保护的时候,单元格格式处于“锁定”状态的,保护有效,其他部分可修改。 教你如何方便锁定exc el公式单元格 第一步:全选表格,格式--单元格--保护--去除锁定前的对勾--确定 第二步:编辑--定位--定位条件--选择公式--确定 第三步:此时有公式的单元格有变为了蓝色,再一次选

择,格式--单元格--保护--勾上锁定前的对勾 -- 确定 第四步:选择工具--保护--保护工作表--确定 完成之后,有公式的单元格就无法输入数字,保证数据的正确性(如下图所示) excel中部分内容被锁定后如何使单元格行高不被锁定 保护工作表时,在弹出的对话框中选中“设置行格式”和“设置列格式”即可。你也可以同时勾选其他允许锁定后修改的项目。 篇二:怎样把excel表格的第一行和第二行锁定 怎样把excel表格的第一行和第二行锁定?让它们不动选中单元格a3(第三行第一个)点击主菜单“数据”…“冻结窗口”,这时第一行和第二行就不会再动了。如果要取消,就点击主菜单“数据”…“取消冻结窗口” excel中怎样复制粘贴工作表,而保持格式不变 按住ctrl键,拖动表格下面的标签(sheet1),就可以复制工作表了。 篇三:excel表格中如何在已有的单元格中批量插入固定内容 excel表格中如何在已有的单元格中批量插入固定内容例如:在b列前加入山西省。用合并符号&

如何在E cel表格中锁定单元格或行列

如何在Excel表格中锁定单元格或某行某列 点评:在制作大量的Excel表格的时候,我们常常自己都可能搞忘记哪些数据是非常重要的,可能一个误操作就会导致一些自己辛苦的数据丢失了。 在制作大量的Excel表格的时候,我们常常自己都可能搞忘记哪些数据是非常重要的,可能一个误操作就会导致一些自己辛苦的数据丢失了。所以,每当我们做完一些重要的数据的时候不仅要保存备份,而且最好是将一些“单元格锁定”起来,这样我们就不会出现误操作或误删除而导致删除重要数据。下面Word联盟就来给大家说一下如何灵活运用“Excel锁定单元格”以及锁定某列和某行的技巧! 这里我所说的“锁定单元格”含义是指将某块区域的一些单元格保护起来,保护后是无法进行编辑与修改的,只有通过输入先前设置的密码正确后才可以重新开始编辑和修改!具体操作如下: 锁定单个或多个单元格方法 ①首先,利用Excel快捷键 Ctrl + A 全选所以的单元格,然后,右键选择“设置单元格格式”; ②在弹出的“单元格格式”中选择“保护”,取消“锁定”前面的钩去掉;(如下图)

③选中你所想要锁定的单个或多个单元格,再次右键选择“设置单元格格式”;(如下图)

④同样,在弹出的“单元格格式”窗口中选择“保护”,再将“锁定”前面的钩打上,确定;(如下图)

⑤继续选中需要锁定的单元格,然后单击菜单栏的“工具”-->保护-->保护工作表,在弹出的“保护工作表”窗口中我们输入锁定该单元格的密码(千万别把密码忘记了哟);(如下图)

到这里锁定单元格就已经设置完毕了!现在你可以回到Excel表格中看看,刚才被我们锁定的单元格貌似不可以编辑和修改了,每次编辑它都会提示:“正在视图更改被保护的只读单元格或图标”。 如果想重新对锁定的单元格进行编辑或修改,单击菜单栏的“工具”中的“保护”下的“撤销工作表保护”,在窗口中重新输入设置的密码,即可撤销工作表的锁定。(如下图)

破解excel表格锁定密码

破解Excel工作表保护密码 1\打开文件 2\工具---宏----录制新宏---输入名字如:aa 3\停止录制(这样得到一个空宏) 4\工具---宏----宏,选aa,点编辑按钮 5\删除窗口中的所有字符(只有几个),替换为下面的内容:(你复制吧) Option Explicit 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 & _

如何快速锁定EXCEL表格中多个单元格

对于某个Excel工作簿中的数据,如果我们仅仅是希望别人查看而不希望其随意地修改的话,为该工作簿添加一个密码无疑是个很简单实用的方法。在实际应用中,我们在对Excel 工作簿中某些指定单元格中的数据加以保护的同时,却还得允许别人可以修改其他单元格中的数据。那么,这又该如何操作呢?接下来,笔者就以某Excel工作簿为例(只保护C列和D 列单元格中的数据),给大家介绍一下如何来实现。 第一步:打开工作簿并切换到Sheet1工作表下;接着选中该工作表中的所有单元格并按下Ctrl+1快捷键,打开自定义序列对话框的保护选项卡(图1);最后取消锁定复选框并单击确定按钮。 天极软件编注:这一步的目的主要是先将所有的单元格都取消锁定。下一步再对指定单元格做锁定设置。 第二步:薪酬表.xlsx工作簿的Sheet1工作表中,先选中需要进行保护的C列单元格和D列单元格(也可以是其他连续或非连续的多个单元格);接着按下Ctrl+1快捷键,打开自定义序列的保护选项卡,同时勾选图1,A、B处所示的锁定和隐藏复选框并单击确定按钮。 然后在Excel2007主界面中单击审阅选项卡中的允许用户编辑区域按钮,打开一个与之同名的对话框并单击其中的新建按钮,以弹出新区域对话框。 再在新区域对话框区域密码下边的文本框内输入密码并单击确定按钮。 最后在新弹出的确认密码对话框中重新输入一次密码就可以了。 完成上述操作后,单击Excel2007主界面开始选项卡中的格式按钮,在弹出的下拉菜单中选择保护工作表以打开保护工作表对话框,然后按照提示在该对话框取消工作表保护时使用的密码下边的文本框内输入新设定的密码(也可与第一次为保护某些单元格设置的密码相同)并单击确定按钮即可。 这样一来,我们就完成了为薪酬表.xlsx工作簿Sheet1工作表中的C列和D列单元格添加只读密码的所有操作。当然,如果对Sheet1工作表中的C列和D列单元格以外其他任意一个单元格执行编辑操作时,则无须输入密码。

(完整版)excel表写保护破解

oulangwokuan|分类:办公软件|浏览12912次 打开excel表格——工具——保护——撤销工作表保护,有没有人能给发个软件破解一下啊?? 分享到: 2011-07-07 12:56提问者采纳 \打开文件 2\工具---宏----录制新宏---输入名字如:aa 3\停止录制(这样得到一个空宏) 4\工具---宏----宏,选aa,点编辑按钮 5\删除窗口中的所有字符(只有几个),替换为下面的内容:(你复制吧) Option Explicit 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" & _

解除EXCEL的单元格保护密码秘籍100%成功

如何破解EXCEL的单元格保护密码 VBA宏代码破解法: 第一步:打开该文件,先解除默认的“宏禁用”状态,方法是点击工具栏下的“选项”状态按钮,打开“MicrosoftOffice安全选项”窗口,选择其中的“启用此内容”,“确定”退出; 再切换到“视图”选项卡,点击“宏”→“录制宏”,出现“录制新宏”窗口,在“宏名”定义一个名称为:PasswordBreaker,点击“确定”退出; 第二步:再点击“宏”→“查看宏”,选择“宏名”下的“PasswordBreaker”并点击“编辑”,打开“Microsoft Visual Basic”编辑器,用如下内容替换右侧窗口中的所有代码: Sub PasswordBreaker() Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As Integer Dim i4 As Integer, i5 As Integer, i6 As Integer On Error Resume Next 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 ActiveSheet.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 ActiveSheet.ProtectContents = False Then MsgBox "One usable password is " & Chr(i) & Chr(j) & _ Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) ActiveWorkbook.Sheets(1).Select Range("a1").FormulaR1C1 = Chr(i) & Chr(j) & _ Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) Exit Sub End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next End Sub 第三步:再点击“宏”→“查看宏”,选择“宏名”下的“PasswordBreaker”并点击“执行”,密码就现形了。 第四步:切换“审阅”选项卡,点击“撤消工作表保护”,然后输入密码即可解除锁定。

EXCEL单元格自动锁定

EXCEL如何实现单元格输入内容后自动锁定 在EXCEL中如何实现在某些单元格中输入数据后自动上锁保护,但是在单元格空白的时候输入则不需密码,只要已输入万内容就需要权限来进行更改。这种效果可以实现吗。 如数据在SHEET1表,按ALT+F11打开VBA窗口,双击左边的SHEET1,在右边窗口粘粘下面的代码。无需按按钮,对输入过的内容自动加密,点击有内容单元格要求输入密码。 密码是123正确才能修改内容,否则就去选择A1单元格。另外,请对工程做密码保护。Private Sub Worksheet_SelectionChange(ByVal Target As Range) On Error Resume Next With Target If .Value <> "" Then PW = InputBox("修改内容请输入密码:") If PW <> "123" Then Cells(1, 1).Select Else Exit Sub End If End If End With End Sub Dim Str As String Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) '双击运行代码 Dim Pass, s If Target.Cells(1).Value <> "" Then Pass = InputBox("请输入修改密码:", "提示") If Pass <> "123456" Then Application.EnableEvents = False Target.Cells(1) = Str Application.EnableEvents = True MsgBox "密码错误,不能修改", vbOKOnly, "警告" Target.Offset(1).Select

Excel中 被锁定的单元格如何解锁

1.打开文件。 2.工具---宏----录制新宏---输入名字,如“aa”。 3.停止录制(这样得到一个空宏)。 4.工具---宏----宏,选“aa”,点编辑按钮。 5.删除窗口中的所有字符,替换为下面的内容: Option Explicit 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 " & _

Excel单元格锁定与数据隐藏解读

以下我们来看如何自动计算显示相应的数据: 5.在A3单元格中输入公式 “=IF(OR(B3<>"",C3<>"",COUNTBLANK($A$2:A2+COUNTA($A$2:A2,""”,拖动A3右下角的填充柄向下填充至A10,意为以B3、C3单元格为参考,只要它们中有一个存在数据,则在A3格中显示相应的序号,否则不显示。 6.在H3单元格中输入公式“=IF(OR(B3<>"",C3<>"",(E3+F3/2,""”,拖动H3右下角的填充柄向下填充至H10,显示每名学生的平均分

7.在G3单元格中输入公式“=IF(OR(B3<>"",C3<>"",SUM(E3:F3,""”,向下填充至G10,显示总分。 8.在I3单元格中输入公式“=IF(OR(B3<>"",C3<>"",RANK(H3,$H$3:$H$10,0,""”,向下填充至G10,动态显示排序结果。 9..最关键的一步:“工具→保护→保护工作表”,在“保护工作表”对话框中保持“保护工作表及锁定的单元格内容”的选中状态,设定密码(可以设置为空),在下面“允许此工作表的所有用户进行:”中作如图3选择。 在Excel 2000中缺少Excel 2003的“允许此工作表的所有用户进行:”选项,所以功能较差。而在此处选中“设置列格式”、“设置行格式”目的是为了在锁定状态下可以对表格的列框和行高进行调整,以便适应打印要求。 好了,把做好的电子表格作为模板分发下去,如果有人想对红色的锁定区域进行修改编辑的话,马上就会弹出一个对话框,提示“只有撤销了工作表保护才能修改”。哈,我的地盘,听我的,如果想发挥,到你的自留地(黑色区域)去吧! 输入数据、显示效果见图4。

excel单元格锁定破解

1打开文件 2工具---宏----录制新宏---输入名字如:aa 3停止录制(这样得到一个空宏) 4工具---宏----宏,选aa,点编辑按钮 5删除窗口中的所有字符(只有几个),替换为下面的内容: 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 & _

单元格锁定与解锁

企业管理的一项重要手段就是数据报表,同一归口管理的各个子单位的报表都用同一个格式和结构的软件,这就是常说的模板。在这个模板中为了避免数据输入的重复或手工计算的工作量,有不少项是自动计算出来的。EXCEL是最普通最常用的数据处理软件,有很多的企业报表模板就用它。模板中有很多的计算公式,如果不对这些公式进行保护,在输入数据的过程中可能一不小心就会把公式给删除了,造成的后果是可想而知的。必竟使用者对EXCEL 的熟悉程度是有差异的,不少人都说会用,绝大多数只是停留在表面的一些简单使用上。如何来保护那些不需要数据录入者动的单元格呢?原来我用过,可昨天突然有同事问我时还一时想不起来了,试了半天才搞清。还是写下来,以后就不会再忘了。 在制作大量的Excel表格的时候,我们常常自己都可能搞忘记哪些数据是非常重要的,可能一个误操作就会导致一些自己辛苦的数据丢失了。所以,每当我们做完一些重要的数据的时候不仅要保存备份,而且最好是将一些“单元格锁定”起来,这样我们就不会出现误操作或误删除而导致删除重要数据。下面来给大家说一下如何灵活运用“Excel锁定单元格”以及锁定某列和某行的技巧!这里我所说的“锁定单元格”含义是指将某块区域的一些单元格保护起来,保护后是无法进行编辑与修改的,只有通过输入先前设置的密码正确后才可以重新开始编辑和修改!具体操作如下: 锁定单个或多个单元格与解锁方法 ①首先,利用Excel快捷键Ctrl + A 全选所以的单元格,然后,右键选择“设置单元格格式”; ②在弹出的“单元格格式”中选择“保护”,取消“锁定”前面的钩去掉;

③选中你所想要锁定的单个或多个单元格,再次右键选择“设置单元格格式”; ④同样,在弹出的“单元格格式”窗口中选择“保护”,再将“锁定”前面的钩打上,确定; ⑤继续选中需要锁定的单元格,然后单击菜单栏的“工具”-->保护-->保护工作表,在弹出的“保护工作表”窗口中我们输入锁定该单元格的密码(千万别把密码忘记了哟); ⑥默认选中头两个“选定锁定单元格”、“选定未锁定单元格”,取消它们后,用户将不能选中单元格。 下面那个“允许用户编辑区域”可以设置可以改动的区域,这样就实现用户输入区和锁定区分开的功能了。

保护excel某个单元格

保护excel某个单元格 如何保护excel某个单元格,使之不能被修改? (+1)转发贴子到你喜欢的吧回复1楼2006-03-31 10:59举报|bengdeng见E勇为7先全选单元格,在设定单元格格式中的保护中去除锁定选项。 再选择你需要保护的单元格,在设定单元格格式中的保护中选上锁定选项。 最后保护工作表。点评:在制作大量的Excel表格的时候,我们常常自己都可能搞忘记哪些数据是非常重要的,可能一个误操作就会导致一些自己辛苦的数据丢失了。所以,每当我们做完一些重要的数据的时候不仅要保存备份,而且最好是将一些单元格锁定起来- 企业管理的一项重要手段就是数据报表,同一归口管理的各个子单位的报表都用同一个格式和结构的软件,这就是常说的模板。在这个模板中为了避免数据输入的重复或手工计算的工作量,有不少项是自动计算出来的。EXCEL是最普通最常用的数据处理软件,有很多的企业报表模板就用它。模板中有很多的计算公式,如果不对这些公式进行保护,在输入数据的过程中可能一不小心就会把公式给删除了,造成的后果是可想而知的。必竟使用者对EXCEL的熟悉程度是有差异的,不少人都说会用,绝大多数只是停留在表面的一些

简单使用上。如何来保护那些不需要数据录入者动的单元格呢?原来我用过,可昨天突然有同事问我时还一时想不起来了,试了半天才搞清。还是写下来,以后就不会再忘了。在制作大量的Excel表格的时候,我们常常自己都可能搞忘记哪些数据是非常重要的,可能一个误操作就会导致一些自己辛苦的数据丢失了。所以,每当我们做完一些重要的数据的时候不仅要保存备份,而且最好是将一些“单元格锁定”起来,这样我们就不会出现误操作或误删除而导致删除重要数据。下面来给大家说一下如何灵活运用“Excel锁定单元格”以及锁定某列和某行的技巧!这里我所说的“锁定单元格”含义是指将某块区域的一些单元格保护起来,保护后是无法进行编辑与修改的,只有通过输入先前设置的密码正确后才可以重新开始编辑和修改!具体操作如下: 锁定单个或多个单元格与解锁方法 ①首先,利用Excel快捷键Ctrl + A 全选所以的单元格,然后,右键选择“设置单元格格式”; ②在弹出的“单元格格式”中选择“保护”,取消“锁定”前面的钩去掉;③选中你所想要锁定的单个或多个单元格,再次右键选择“设置单元格格式”; ④同样,在弹出的“单元格格式”窗口中选择“保护”,再将“锁定”前面的钩打上,确定; ⑤继续选中需要锁定的单元格,然后单击菜单栏的“工具”

相关文档
相关文档 最新文档