title: Run excel VBA function when sheet is clicked
body: <p>I was wondering if there was a way to run a VBA script when I open a sheet in the workbook.</p>
  
  <p>For example, I have a workbook called "Inventory" and I want to run an "InitiateInventoryValues" Function when the "View Inventory" sheet is opened.</p>
  
  <p>Can anybody please help me on this?</p>