How to hide columns and the don't skip columns letters

Stevekent

Board Regular
Joined
Jul 24, 2013
Messages
109
Office Version
  1. 365
Platform
  1. Windows
I want to hide a few columns in my worksheet but I don’t want others to know I hide the columns. People would notice that the columns been hided simply by looking at the columns letter as those hide columns their header letter skipped. </SPAN>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
You could hide all the row & column lables, but someone could just add them back in. Short answer is you can't do this reliably.
 
Upvote 0
It's not possible, strictly speaking, to hide rows and columns discretely. It is your spreadsheet, however, so I'd suggest you consider moving the data you want hidden to another place on the sheet, another sheet all together, or a completely different workbook and just reference it in the formulas of any affected totals/calculations. Data sources can be obfuscated and hidden in a number of ways, depending on the sophistication of your audience...
 
Upvote 0
As has been said, its not really possible to hide without someone noticing or altering the spreadsheet so it looks different

You could try the below that hides the column then the headings, but your users might want the headings for reference
Code:
Sub hidec()


Sheet1.Unprotect Password:="aa"
Sheet1.Range("G:G,Q:Q,Y:Y").EntireColumn.Hidden = True
ActiveWindow.DisplayHeadings = False
Sheet1.Protect Password:="aa"
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,874
Messages
6,122,036
Members
449,062
Latest member
mike575

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