title: Excel 2013 crashes when unhiding columns
body: <p>I've spent hours trying to figure this out with no solution being found so far.  I have a macro (see below) that unhides/hides a range on a spreadsheet.  Seems simple enough and the first two times I run this macro it works fine; however, the third time, which is always unhiding the range, usually causes Excel 2013 to crash.  I read <a href="http://www.ozgrid.com/forum/showthread.php?t=91152" rel="nofollow">here</a> that having an volatile user defined function in the range I'm unhiding might be causing the problem, but I already tried making the function not volatile and Excel still crashed.  Does anyone have any ideas or experienced this before?</p>
  
  <pre><code>Sub HideShowSQLCreator(control As IRibbonControl)
  
  Dim SQL_Creator As Range
  Dim Report_Home_Cell As Range
  
  Set SQL_Creator = Sheets("Report").Range("SQL_Creator")
  Set Report_Home_Cell = Sheets("Report").Range("Report_Home_Cell")
  
  If SQL_Creator.EntireColumn.Hidden = False Then
      SQL_Creator.EntireColumn.Hidden = True
      Report_Home_Cell.EntireRow.Select
      ActiveWindow.FreezePanes = True
      ActiveSheet.Range("Report_Home_Cell").Select
      Exit Sub
  End If
  
  If SQL_Creator.EntireColumn.Hidden = True Then
      SQL_Creator.EntireColumn.Hidden = False
      ActiveWindow.FreezePanes = False
      SQL_Creator.Select
      Exit Sub
  End If
  
  End Sub
  </code></pre>