I want to hid some columns in my worksheets. I want to have them invisible for all external users. Thety cannot be aware, that the hidden column exist at all.
I found something, which can help me made them "Very hidden" likewise we can set for a whole sheets.
Unfortunately my approach doesn't work so far.
I have got a function, which should be right, but to be fair I don't know how to use it properly.
Sub Overheadhidden()
Columns("V:W").VeryHideColumn
End Sub
Function VeryHideColumn(myColumn As Range)
'By M--, April 2017
myColumn.Locked = True
myColumn.Hidden = xlVeryHidden
myColumn.FormulaHidden = True
ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
False, AllowFormattingCells:=True, AllowFormattingRows:=True, _
AllowInsertingHyperlinks:=True, AllowSorting:=True, AllowFiltering:=True _
, AllowUsingPivotTables:=True
End Function
It comes from this solution:
Protecting and Hiding Columns same as "Very Hidden" Sheets
Is there ANY possible way to make the columns very hidden?