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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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