title: "getvalue" function error "Sub or function not defined"
body: <p>I am not able to get the value using "getvalue" function in VBA.</p>
  
  <pre><code>Sub testgetvalue1()
  Dim p As String
  Dim t As String
  Dim s As String
  Dim a As String
  p = "D:\Archive Mail"
  t = "Excel_1"
  s = "Sheet1"
  a = "A1"
  msgbox getvalue(p, t, s, a)
  End Sub
  </code></pre>
  
  <p>It throws an error</p>
  
  <blockquote>
    <p>"Sub or function not defined"</p>
  </blockquote>
  
  <p>and it highlights the "getvalue" function.</p>