title: Type mismatch error in Excel macro
body: <p>I have this code for work that has a very simple purpose of filling in the hours of regular(A2), overtime(B2), and double OT(C2) work based on the value I input into hours(E2).</p>
  
  <p>I created my macro, attempted to scramble together the correct code (I can correct that later as needed) and now I am receiving a "Mismatch Error" in the highlighted line of code. I have searched several different resources online and just can't seem to figure out what I am missing with this. I have the value of cell E2 defined as a double, and I have a test value (15.7) input into the proper cell (E2), yet it still shows cell E2 as having no value.</p>
  
  <p>Any help is appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/A0d1o.png" alt="Code"></p>