opentext

  • Thread starter Thread starter banavas
  • Start date Start date
B

banavas

Dear friends,

I want read data from two txt files and import them in one workbook bu
in different sheets. Any ideas?

Thanks,
G
 
An easy approach
application.ScreenUpdating = False
Open the first, copy the data to the first worksheet, close without saving
changes
Repeat for the second.
application.ScreenUpdating = True
 
An easy approach
application.ScreenUpdating = False
Open the first, copy the data to the first worksheet, close without
saving
changes
Repeat for the second.
application.ScreenUpdating = True
 
G,

If you have Excel 2002, use Data - Import External Data - Import Data. You
can specify where to put the data in the workbook, and use Refresh later to
reread the text file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top