Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet in which I need to import data that
currently resides in a .txt file. I would imagine that I need to create some sort of link between the .xls and .txt formats and then create a macro that subsequently pulls in all pertinent data, but I am at a loss as how to begin this process. Any and all insights are welcome. thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way is to open the text file with various vba commands you can learn
about in Help! Search for "Input", "Line Input", and "Open Statement". That should get you started. Otherwise, you can open the text file as a workbook. Use the macro recorder to get the code for this. HTH, Shockley "Andy" wrote in message ... I have a spreadsheet in which I need to import data that currently resides in a .txt file. I would imagine that I need to create some sort of link between the .xls and .txt formats and then create a macro that subsequently pulls in all pertinent data, but I am at a loss as how to begin this process. Any and all insights are welcome. thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All I ever did was first under the Tools menu, go to
Macro/Record New Macro. Then under the Data menu, go to Get External Data/Import Text File. Choose your settings, when finished go back to the Tools menu/Macros/Stop Recording. Then right click the data to set up your refresh options. rc -----Original Message----- I have a spreadsheet in which I need to import data that currently resides in a .txt file. I would imagine that I need to create some sort of link between the .xls and .txt formats and then create a macro that subsequently pulls in all pertinent data, but I am at a loss as how to begin this process. Any and all insights are welcome. thanks. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
very slow!! excel file linking.. | Excel Discussion (Misc queries) | |||
Linking a pdf file from Excel | Excel Discussion (Misc queries) | |||
Linking a worksheet from a different excel file | Excel Discussion (Misc queries) | |||
linking a file to another linked file in excel | Excel Discussion (Misc queries) | |||
linking with cells of others excel file | Excel Discussion (Misc queries) |