hi,
i m making a utility and want to give import and export data facility. i have made code for export but for coding import data i am in trouble.
while exporting data from excel to txt user can use any name or destination of file so it will not defined. can you help me to give a vba code that open file dialog and select text file and copy the data in txt file and paste in a specific sheet.
i use this code to open dialog but how to copy data from selected text file and paste in specific sheet.
Call Application.FileDialog(msoFileDialogOpen _
).Filters.Add("Text Files Only", "*.txt")
Waiting for your answers.
i m making a utility and want to give import and export data facility. i have made code for export but for coding import data i am in trouble.
while exporting data from excel to txt user can use any name or destination of file so it will not defined. can you help me to give a vba code that open file dialog and select text file and copy the data in txt file and paste in a specific sheet.
i use this code to open dialog but how to copy data from selected text file and paste in specific sheet.
Call Application.FileDialog(msoFileDialogOpen _
).Filters.Add("Text Files Only", "*.txt")
Waiting for your answers.
