title: What's wrong with calling Application.GetOpenFilename method in Word VBA?
body: <p>Namely, I called the following snippet in a button handler:</p>
  
  <pre><code>TextBox1.Text = Application.GetOpenFilename("All files (*.*),*.*", _
          1, "Open the Raw Data Files", , False)
  If TextBox1.Text = "False" Then TextBox1.Text = ""
  </code></pre>
  
  <p>The error said: "Compiler error: Method or data member not found"</p>
  
  <p>Thanks in advance!</p>