_QueryTable.TextFilePromptOnRefresh Property
True if you want to specify the name of the imported text file each time the query table is refreshed. The Import Text File dialog box allows you to specify the path and file name. The default value is False. Read/write Boolean.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property TextFilePromptOnRefresh As Boolean
Get
Set
'Usage
Dim instance As _QueryTable
Dim value As Boolean
value = instance.TextFilePromptOnRefresh
instance.TextFilePromptOnRefresh = value
bool TextFilePromptOnRefresh { get; set; }
Property Value
Type: System.Boolean
Remarks
Use this property only when your query table is based on data from a text file (with the QueryType property set to xlTextImport).
If the value of this property is True, the dialog box doesn’t appear the first time a query table is refreshed.
The default value is True in the user interface.