title: How do I change the input language programmatically with VBA
body: <p>So here is my objective. I want to make a button on an excel spreadsheet that changes the input language to Japanese. I saw this thread</p>
  
  <p><a href="http://www.dreamincode.net/forums/topic/173705-change-system-keyboard-language-with-vba/" rel="nofollow">http://www.dreamincode.net/forums/topic/173705-change-system-keyboard-language-with-vba/</a></p>
  
  <p>He called activatekeyboardlayout, but it doesn't appear to do anything. the function calls activekeyboardlayout, and nothing changes. typing still gives american letters. I have looked at this for a couple hours and i dont feel like i have a firm grasp of it, so im asking for help. </p>
  
  <p>im using excel 2013, with windows 10</p>