这是Excel2010引进的受保护视图,为来自互联网的文件先在“沙盒”中打开,由用户择启用编辑。如果对文件可信,可在下面图示中关闭该功能,去掉勾选
When you open a protected Excel file, you’ll see aProtected Viewmessage at the top of the formula bar. Here are three ways to enable editing in Excel while in Protected View: From the Warning Message: Click on theEnable Editingbutton in the warning message at the top of the worksheet. ...
VBA教程:EnableEditing属性·示例本示例对第一张查询表进行设置,使用户不能对其进行编辑。Worksheets(1)...
這個範例會設定第一張查詢表,不讓使用者進行編輯。 VB複製 Worksheets(1).QueryTables(1).EnableEditing =False 支援和意見反應 有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱Office VBA 支援與意見反應。 意見反映 此頁面有幫助嗎? 是否...
Sub Iterate_Through_data_Validation() Dim xRg As Range Dim xCell As Range Dim xRgVList As Range Set xRg = Worksheets("Sheet1").Range("B8") Set xRgVList = Evaluate(xRg.Validation.Formula1) For Each xCell In xRgVList xRg = xCell.Value ActiveSheet.PrintOut Next End Sub ...
True if the user can edit the specified query table. False if the user can only refresh the query table. Read/write Boolean. C# 複製 public bool EnableEditing { get; set; } Property Value Boolean Applies to 產品版本 Excel primary interop assembly Latest 意見...
Passper for Excelis the best password remover tool for Excel worksheets or workbooks. It uses advanced AI algorithms to intelligently identify issues in Excel files, allowing for the quick removal of read-only restrictions or cracking passwords.With one simple click, all restrictions can be removed...
Gets aSheetscollection that represents all the worksheets in the workbook. WritePassword Gets or sets the write password of a workbook. WriteReserved Gets a value that indicates whether the workbook is write-reserved. WriteReservedBy Gets the name of the user who currently has write permission for...
If all rows in a worksheet contain data, you would have 4096 CLBs in that worksheet, and you could have only 16 such worksheets in a single instance of Excel (regardless of how many workbooks you have open in Excel). What to do To make sure that the workbook does not ...
Use theQueryTableproperty of theListObjectto access theEnableEditingproperty. Example This example sets query table one so that the user cannot edit it. VB Worksheets(1).QueryTables(1).EnableEditing =False Support and feedback Have questions or feedback about Office VBA or this documentation? Pl...