EXCEL如何鎖定單元格(鎖定的單元格不能修改)表設(shè)計完成之后,首先右鍵點選右上角的空白處,實現(xiàn)表格全眩在右鍵快捷菜單中選擇“設(shè)置單元格格式”,在打開的界面中選擇“保護(hù)”,將里面的“鎖定”勾選項去掉并保存。然后,選擇需要保護(hù)的單元格區(qū)域,
如果要對工作表中的某個或某些單元格的格式鎖定,不想讓別人進(jìn)行修改,則要進(jìn)行單元格格式的鎖定操作,下面介紹一下方法。
材料/工具
Excel
方法
想對單元格中的“21”單元格格式進(jìn)行鎖定,則要先選定單元格,然后單擊右鍵選擇“設(shè)置單元格格式”,點擊后會出現(xiàn)選擇窗口。
Excel中鎖定單元格要如何解鎖呢?大家一定也遇到過這樣的問題,今天就來教大家如何解鎖被鎖定的單元格。
選擇“保護(hù)”,勾選“鎖定”,則設(shè)置完成。
1、打開excel表格,對需要鎖定的部分單元格進(jìn)行全選,然后點擊鼠標(biāo)右鍵,在彈出來的設(shè)置功能中,選擇“設(shè)置單元格格式”。 2、接著來到設(shè)置單元格格式下的“數(shù)字”屬性中,點擊上面主菜單中的“保護(hù)”功能菜單。 3、在保護(hù)菜單屬性下,點擊鎖定前面的
這樣設(shè)置單元格格式鎖定并不能起到鎖定的作用,還要選擇“審閱”選項卡中的“保護(hù)工作表”。這樣單元格的鎖定才有作用。
工具/原材料 excel2016版、電腦。 1、打開電腦找到并點擊excel2016版表格軟件; 2、雙擊打開excel表格軟件以后,此時先對全部的表格進(jìn)行選中,這里以A到C列的單元格為例; 3、全部選中單元格后,點擊鼠標(biāo)右鍵在下拉選項中點擊“設(shè)置單元格格式”;
設(shè)置后,系統(tǒng)會提示輸入密碼,安提示輸入就可以了,密碼要記住。
工具/原料 電腦 EXCEL表格 方法/步驟 1、首先選擇表格,然后單擊鼠標(biāo)右鍵,選擇設(shè)置單元格格式。 2、在彈出的單元格格式的對話框,點擊保護(hù),去掉鎖定,然后點擊確定。 3、選擇需要鎖定的單元格,單擊鼠標(biāo)右鍵,選擇單元格格式。然后選擇保護(hù)-鎖
擴(kuò)展閱讀,以下內(nèi)容您可能還感興趣。
excel表格被鎖定,不能修改格式,這個怎么解決?
1、打開需要不受*的表單進(jìn)行編輯。您可以看到菜單欄中的許多工具都是灰色復(fù)的,表示無法進(jìn)行編輯。
2、打開表格,找到左上角的Microsoft office圖表,然后單擊。
3、打開的頁面中間有一個“另制存為”。
4、讓我們點擊“另存為”,頁面將彈出一個小窗口。
5、在小窗口文件名下面(N)有一個“保存百類型(T)”,我們點擊保存類型(T)后面的小倒三角形,點擊打開查看多種類型的文件保存模式。
6、我們選擇unicode文本,單擊“保存”,然后會彈出一個小框以保存此格式。我們選擇是。
7、找到剛剛以文本模式保存的文件,打開一個新的Excel工作表打開,將文本文件拖到Excel工作表,并*編輯后的文件進(jìn)度行編輯。
在EXCEL中想鎖定部份單元格怎么辦?
1、打開Excel表格2019版本,抄然后選中要鎖定的單元格。
2、選中單元格之后,按Ctrl+1調(diào)出單元格格式,然后再保護(hù)頁面中,把鎖定和隱藏都勾選上,然后點擊保存。
3、勾選鎖定和隱藏后,點擊審閱中的保護(hù)工作表。
4、點擊保護(hù)工作表之襲后,彈出窗口,設(shè)置一個密碼,然后點擊確定。
5、再次確認(rèn)密碼,點擊確定。
6、再次確認(rèn)密碼之后,單元格就被鎖定不能編輯也不能復(fù)制粘zd貼了。
Excel中 被鎖定的單元格如何解鎖?
方法一:
1.首先,利用Excel快捷鍵"Ctrl + A"全選所以的單元格,然后,右鍵選擇“設(shè)置單元格格式”。
2.在彈出的“單元格格式”中選擇“保護(hù)”,取消“鎖定”前面的鉤去掉。
方法二:
1.打開文件。
2.工具---宏----錄制新宏---輸入名字,如“aa”。
3.停止錄制(這樣得到一個空宏)。
4.工具---宏----宏,選“aa”,點編輯按鈕。
5.刪除窗口中的所有字符,替換為下面的內(nèi)容:
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.關(guān)閉編輯窗口。
7.工具---宏-----宏,選AllInternalPasswords,運(yùn)行,確定兩次,等2分鐘7a686964616f31333431376635,再確定即可完成操作。
如何在EXCEL中鎖定表格只可以修改指定數(shù)據(jù)
以WPS 2019版為例
以只允許修改復(fù)出生日期,其他資料不修改為例
1、打開表格
2、點擊“審閱”--->“允許用戶編輯區(qū)域”
3、新建--->選擇允許修改制的區(qū)域
4、點擊“確定”--->“保護(hù)工作表”
5、選擇鎖定單元格和選定未鎖定單元格,最后確定即可~知
6、去修改不允許修改的區(qū)域就會出現(xiàn)提示!
注意:如果擔(dān)心以后有可能需要修改,可以在設(shè)置保護(hù)的時候添加一個密道碼。如果要修改輸入密碼就可以修改了
如何鎖定已經(jīng)制好的EXCEL單元格的高度和寬度,但是又能進(jìn)行文字編輯?
1、首先在電腦上面找到EXCEL表格,并將表格點擊抄打開。
2、打開之后,在頁面上面找到審閱這個選項, 并點擊選擇這個選項。
3、然后在審閱下面就可以看到保護(hù)工作表知的功能,點擊它。
4、然后在這個保護(hù)工作表選擇里面,找到允許用戶編輯區(qū)域這個選項,并在這個選項前面打勾,同時道在單元格格式保護(hù)一欄,去掉鎖定勾選,點擊確定,即可。
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:0731-84117792 E-MAIL:11247931@qq.com