disable

  1. M

    Disabling macros/command buttons when a cell meets a condition

    Hi all, I have a simple macro that is attached to an active x control command button. The macro simply deletes pre-arranged unecessary cells so that a sheet can be printed efficiently: Sub delete_specified_columns() Sheets("Sheet1").Range("B:C,E:F").EntireColumn.Delete End Sub Here is an...
  2. F

    Disable Drag and drop and workbook closed by error 400

    Hello, I want to disable drag and drop in my workbook. So I put this code in "ThisWorkbook" : Private Sub Workbook_Activate() Application.CellDragAndDrop = False End Sub Private Sub Workbook_Deactivate() Application.CellDragAndDrop = True End Sub It works, but when another vba code...
  3. M

    How to disable all buttons in a userform?

    I have 20+buttons in a userform, how can I disable all buttons by a automatic sub? Only buttons
  4. D

    VBA to Disable keyboard entry but allow Scanning entry from Motorola DS9808

    Hello Everyone i am new here and have a question i cant seem to find a answer to. Ok so i have a spreadsheet that tracks labor for a company i work for and they have provided bar codes to employees for there badge ids but they also have bar codes for activities that they choose not to use and...
  5. M

    Copy / Cut / Patse functionality

    Hi Guys, Can copy and cut be disabled in all but 1 work sheet? and leave the capability of pasting in the workbook? Thanks in advance for any feedback.
  6. M

    VBA Which allows paste but not cut or copy

    Hi Excelers, I have found numerous VBA codes that disables cut/copy and paste functions in an excel workbook, but what I need is the ability to paste and the disability to cut or copy. Additionally If I can deactivate the "prt scrn" functionality that would be a nice bonus. Thanks in...
  7. E

    Temporarily Disable auto protect code

    Is there a way I can temporarily disable automatic protecting in the following code? Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range Application.EnableEvents = False ActiveSheet.Unprotect Password:="WellingtonFrac" Set rng = Intersect(Target...
  8. M

    Disabled macros and won't run

    I have a workbook with a macro in a module file called by Ctrl+D but this fails with the error "Cannot run the macro. The macro may not be available or all macros may be disabled". In the developer tab I can see the macro but the "run" "step into" and "edit" options are all disabled. macro...
  9. S

    Disabling grouped option boxes based on combo box selection

    Hi all, I've found similar questions to this (disabling option buttons based on listbox etc.) but have tried all their code and tinkering about and can't get it to work. Apologies, I am quite new to this. I have a combo box, with 6 options. Depending on the selected option, a certain number...
  10. D

    Disable to create new cell/span

    Hey guys A friend of mine showed me, how to make sure, that no more cell or span can be added in a excel-sheet. He said, that in the last span/cell (65536) I have to put a space in, while the whole span/cell is marked. But I can still create new spans or cells. How do I have to do this, so it...
  11. L

    Disable enter parameter value

    I have a query in which I'm converting number date "20150415" to "15-Apr-15" and then find the difference between 2 dates. first and last dates I'm using the following expressions; FLabour is a group by "Min" which is searching a Linked ODBC table. Fdate...
  12. P

    How to enable/Disable a shape through vba? (Not-Clickable)

    I have some code running on the click event of a shape. I want to enable/Disable on certain conditions. How to do it? Search results are not promising :( Thanks in advance. Possible? (atleast Hide or Show?) Edit: Shapes("ShapeName").visible hides/shows the shape. But How to disable/enable it?
  13. L

    Disable Save Prompt in Excel

    is there a way to disable the save prompt when in an excel file? I have a share macro excel sheet and I don't want it to ask to save the file. When you manually close the file or Excel. Is this possible?
  14. G

    Cascading ComboBoxes

    Hi there, I am trying to create a User Form using ComboBoxes and am struggling with a couple of things: 1) I have populated my ComboBoxes successfully (these cascade down 5 levels) but, if I select an option in ComboBox1, for example, the relating options in ComboBox2 do not appear until I...
  15. A

    Disable Scrolling while Macro is Running

    How do I disable scrolling while my macro is running? I want my screen/window to be locked when the macro starts and unlocked when the macro ends. However, I do not want to disable ScreenUpdating. Application.ScreenUpdating = False Set x = ActiveCell ***macro*** x.Select...
  16. L

    Removing Security Warning After Macros have been removed

    Does anyone know how to get rid of the warning that comes with Macros? It is something to the effect of a warning of potential hazards of opening a document with Macros. A lot of the spreadsheets I work on I need to distribute and people get scared of opening or changing settings in excel when...
  17. M

    Enable/Disable Cell if another cell has an especific text

    Hello All, I am trying to have lets say: if the cell A1 has "Solicitud" in it then the cel B1 should be enable for imput (I actually have the cel B1 validated with a Yes/No list) but if the cel A1 is blank or it does not have "Solicitud" then B1 cel should be disabled for editing. VBA code or...
  18. A

    Disable formulas in multiple cells at once

    Hi everyone, I was wondering if there is a way to select a range of cells and turn off their formulas. For example, =average(range1) =average(range2) might become '=average(range1) '=average(range2) without going into each cell and manually inputting ' Is there a way to do this...
  19. M

    Deactivate Selection in Range of Cells

    Hello! I have a range of cells and if i select more than one cell in this range it will reduce my selection to one cell and everything works quite fine until i select for e.g. two cell but the cell right in the vicinity of my range of cells (and this column has a formula) in will select my one...
  20. M

    Disable Drop Menu When Criteria Is Met?

    Hello Everyone, I have a validation drop menu (data / validation / settings / list) that I want to disable when one date is greater than another date. So for example today is 5th November but I want the drop menu to disable when the date is 6th November. Cell C1 contains a start date (can be any...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top