Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7801055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:49:59+00:00 2026-06-02T00:49:59+00:00

Namely, I called the following snippet in a button handler: TextBox1.Text = Application.GetOpenFilename(All files

  • 0

Namely, I called the following snippet in a button handler:

TextBox1.Text = Application.GetOpenFilename("All files (*.*),*.*", _
        1, "Open the Raw Data Files", , False)
If TextBox1.Text = "False" Then TextBox1.Text = ""

The error said: “Compiler error: Method or data member not found”

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:50:01+00:00Added an answer on June 2, 2026 at 12:50 am

    There is no Application.GetOpenFilename in Word.

    You need to use FileDialog instead. Here’s a quick example:

    Private Sub CommandButton1_Click()
      Dim s As Variant
      Dim Res As Integer
    
      Dim dlgSaveAs As FileDialog
      Set dlgSaveAs = Application.FileDialog( _
                       FileDialogType:=msoFileDialogSaveAs)
      Res = dlgSaveAs.Show
      If Not Res = 0 Then
        For Each s In dlgSaveAs.SelectedItems  'There is only one
          MsgBox s
        Next
      End If
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Namely the href snippet of echo <tr><td align=center> <a href=\edit.php?id=$id&name=$name&email=$email&password=$password\>$id</a></td> <td>$name</td><td>$email</td><td>$password</td></tr>; I don't know
I have 2 files namely: uploading.php emaillinks.php both include a file inc.php which has
I have two html files namely file1.html and file2.html. File1 is supposed to encode
I am making an application where i have set two bottom tabs, namely Exit
I have four EditText and two buttons namely, save and review button. If i
I have a bug. In WinForm .NET2.0 application my HeavyFunction can be called from
I had the following code in a sample application: ostream& operator<< (ostream& os, const
Namely code similar to this, making the printout undefined. int a=41; a++ & printf(%d\n,
Namely, a DLL name has an extra @8 at the end which is causing
I have 3 tables namely: Town; Village; Farmers...and I need to COUNT how many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.