Without api, the unreliable SendKeys Method:

VB Code:
  1. Option Explicit
  2.  
  3. Sub SendKeysMethod()
  4.  
  5.     SendKeys "H", True
  6.     SendKeys "E", True
  7.     SendKeys "L", True
  8.     SendKeys "L", True
  9.     SendKeys "O", True
  10.  
  11. End Sub