karthik80c
asked on
need to import a text file into a EXCEL using VBA.
I need to import a text file into excel using VBA.
The Excel file has the first row as the Column names. The text file values are separated by tab delimiter.
I would prefer a icon on the excel tab to run this macro. Thanks.
The Excel file has the first row as the Column names. The text file values are separated by tab delimiter.
I would prefer a icon on the excel tab to run this macro. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Change row 19 to
RowNdx = ActiveCell.row + 1
Removing duplicates is a separate issue and should be asked in a separate question.
ASKER
The first row should have Title, Color and Year.
Only from the second row the text file records should be imported.
Is there a possibility to remove the duplicates when importing the text file into excel file. Thanks.