turn off show input message when selected for entire workbook

selkov

Well-known Member
Joined
Jan 26, 2004
Messages
787
I have been given about two dozen workbooks to work on. Every cell has a pop up input message regarding the information you are to input there. It is done via the data validation process via "Show Input Message When Cell Is Selected". It is a great idea for the person who is inputting information but when trying to update formulas---wow it is annoying.
I can turn the function off cell by cell or even a small range of cells but if I choose the entire workbook I am given only the option to delete the validation. And that will not do.

I need to be able to disable the validation across the entire worksheet and then after I am done re-enable it.
I have googled and searched this forum for inspiration but found nothing that helps me.

Can this be done?
Can anyone help me out?

Thanks in advance for your help.
EDS.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
This is what I have so far. It works as long as the range is all in one row but when it spans more than 1 row it does not:

Sub Message_Valaidation()
'
' Macro3 Macro
'
Dim Rng As Range
On Error Resume Next
Err.Clear
Application.EnableEvents = False
For Each Rng In Selection
With Selection.Validation
.ShowInput = False
End With
Next Rng
Application.EnableEvents = True
End Sub
 
Upvote 0
For the entire sheet, try:
Code:
Sub Message_Valaidation()
Application.EnableEvents = False
Cells.Validation.ShowInput = False
Application.EnableEvents = True
End Sub
 
Upvote 0
This should do it...

Code:
Sub ToggleDVShow()


    On Error Resume Next
      ActiveCell.SpecialCells(xlCellTypeAllValidation).Select
        
            For Each cell In Selection
            cell.Validation.ShowInput = Not cell.Validation.ShowInput
           Next cell
    
End Sub

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,689
Members
449,250
Latest member
azur3

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