Macro to Import a Text File into Existing Worksheet (133198)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q133198 SUMMARY
Microsoft Excel does not provide a direct means for importing a text file
into an existing worksheet. Generally, this is done by opening the text
file into its own workbook and then copying the data from the new workbook
to the existing worksheet. This article provides a sample Microsoft Visual
Basic for Applications macro (Sub procedure) that can automate this
process
for you.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB133198 |
---|
|