
For disabling editing for more textboxes, please add the textbox name embracing with double quotes into the line xArr = Array("TextBox1", "TextBox2", "TextBox3").Ĥ.

And TextBox1, TextBox2, and TextBox3 are the textboxes you will disable editing in the worksheet. In the code, CheckBox1 is the name of your inserted checkbox. If TypeName(xTextBox.Object) = "TextBox" Thenġ. XArr = Array("TextBox1", "TextBox2", "TextBox3")įor Each xTextBox In ActiveSheet.OLEObjects VBA code: Disable editing in multiple textboxes Private Sub CheckBox1_Click()
How to remove enable editing in excel 365 code#
In the Microsoft Visual Basic for Applications window, please replace the original code with below VBA code. Right-click the checkbox and select View Code from the context menu. In the worksheet contains multiple checkboxes you need to disable editing, click Developer > Insert > Check Box (ActiveX Control) to insert a checkbox into the worksheet. If you want to disable editing in multiple textboxes in a worksheet, please apply the below VBA code.ġ. Now the selected textbox is gray and unable to edit.ĭisable editing in multiple textboxes by VBA code In the opening Properties dialog box, select False in the Enabled box and then close the Properties dialog box.

Right-click the textbox and click Properties from the context menu as below screenshot shown.ģ. Turn on the Design Mode by clicking Developer > Design Mode. This section will show you to change a textbox’s properties to disable editing of this textbox.

In the following image, I have selected the area of the Object, by just clicking on it and then I right clicked on it for the shortcut menu to appear. With the Chart, we can also see the table that contains all the Data that was used to create it. In the image below, I have inserted a Chart that I have created in Excel in a PowerPoint Slide. All you need to do is to continue reading the post below. When we want to change or edit the Data or the Chart from the PowerPoint Slide we have several options available in order for us to use. This way, the Data is linked between the Excel Worksheet and the PowerPoint Slide. We just simply copy it from Excel and then use the Paste Options to paste into the PowerPoint Slide.

As we already know, we can use an Excel Chart or Excel Table Data that we created in a PowerPoint Slide.
