title: Excel Worksheet_SelectionChange event not firing at all? (on both Office 2013 & 2016)
body: <p>I've been having a heck of a time accomplishing what I thought would be an incredibly simple test. All I am trying to achieve is to pop up a <code>MsgBox</code> when a user selects a new cell or changes the contents of a cell.</p>
  
  <p>I've been at this for about 6 hours and so far have zero success! I have identical behavior with Office 2016 (Windows 10) and with Office 2013 (Windows 7). </p>
  
  <p>Here are my method(s):</p>
  
  <ol>
  <li>Create a new macro-enabled workbook.</li>
  <li>Record a new macro in the workbook. Stop the recording. Open VBA.</li>
  <li>Open the code for "Module 1" and replace the undesired code with the code below. Save the file.</li>
  <li>File -> Options -> Trust Center -> Trust Center Settings -> Macro Settings -> "Trust access to the VBA project object model" is selected. Save the file.</li>
  <li>I also have ensured <code>Application.EnableEvents = True</code></li>
  <li>I am expecting to be able to click on various cells, or edit cells, and received a <code>MsgBox</code> whenever the event occurs.</li>
  </ol>
  
  <p>Here is my code:</p>
  
  <pre><code>Option Explicit
  
  Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)       
      MsgBox "changed!"  
  End
  
  Private Sub Worksheet_SelectionChange(ByVal Target As Range)
      MsgBox "selected!"
  End Sub
  
  Public Sub Just_In_Case()
      Application.EnableEvents = True
  End Sub
  </code></pre>
  
  <p>What am I missing? Is there a security setting preventing this action event? I have the same behavior online at work as I do offline at home.  </p>
  
  <p>Thank you in advance for your help!  :)</p>
  
  <p>PS Here is the screenshot of my VBA environment, if relevant: <a href="https://i.stack.imgur.com/yXkMK.png" rel="nofollow noreferrer">https://i.stack.imgur.com/yXkMK.png</a></p>