title: Showing hidden column in another sheet
body: <p>I am having trouble finding how to "show" a hidden column in another sheet with VBA.I am currently studying VBA and I wanted to have a hide/unhide code for every case, but this one is missing. Any suggestions?</p>
  
  <p>My (updated) code is here:</p>
  
  <pre><code>Private Sub CommandButton1_Click()
  
      'To Hide Sheet 2
      Worksheets("Sheet2").Visible = False
  
      'To Hide Rows 22 to 25
      Rows("22:25").EntireRow.Hidden = True
  
      'To Hide Columns E to G
      Columns(":G").EntireColumn.Hidden = True
  
      'More specific hidding (inside a different sheet)
      Worksheets("Sheet3").Columns("A:G").EntireColumn.Hidden = True
  
  End Sub
  
  Public Sub UnHideAll()
  
      Dim ws As Worksheet
      For Each ws In ActiveWorkbook.Worksheets
          ws.Visible = xlSheetVisible
          Rows.Hidden = False
          Columns.Hidden = False
      Next ws
  
  End Sub
  
  Private Sub CommandButton2_Click()
      UnHideAll
  End Sub
  </code></pre>