<p>Does anybody know how to call the <code>import data</code> built-in dialog excel from a macro (vba)?</p>

<p>I've tried <code>Application.Dialogs.Item(...).Show</code> but I can´t find the right dialog.
Please help.</p>

<p>Thanks in advance.</p>

If you choose the Object Browser and search for say, xlDialogImportTextFile, you will get a list of possible dialogs.
EDIT:
Perhaps something on these lines would suit:
```
```
'Allow user to select text file
sf = Application _
    .GetOpenFilename("Text Files (*.txt), *.txt")
If sf <> False Then
    'Open text file
    Workbooks.OpenText sf
End If
```
```