Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use Chip Pearson text import code from:
http://www.cpearson.com/excel/imptext.htm. I see that I can feed the text file names to the subroutine by using the code: ImportTextFile "c:\temp\test.txt", ";". This is an easy programming question, but how do I feed the sub several text file names derived from cells in a column, that don't have the file extension ".txt" appended? I see that VBA is somewhat like functions, but can I just say: ImportTextFiles ("h:\textfiles\" & D47 & " "), " " to have it import a text file from the h:\textfiles\ Directory with the name of whatever the name is in cell D47 to the active cell? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Chip Pearson's NewWorkDays formula | Excel Discussion (Misc queries) | |||
Chip Pearson's Forum Etiquette | New Users to Excel | |||
Deleting ALL duplicates using Pearson's code | Excel Worksheet Functions | |||
Help with Chip Pearson's Code for Deleting Blank Rows | Excel Programming | |||
Chip Pearson Import/Export Macros | Excel Programming |