#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default opentext

Dear friends,

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

Thanks,
G

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default opentext

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
--
Regards,
Tom Ogilvy

"banavas " wrote in message
...
Dear friends,

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

Thanks,
G.


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default opentext

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
--
Regards,
Tom Ogilvy


---
Message posted from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default opentext

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.

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"banavas " wrote in message
...
Dear friends,

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

Thanks,
G.


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Opentext method with xlFixedWidth? Together[_8_] Excel Programming 2 March 3rd 04 03:27 PM
OpenText very slow nicoll Excel Programming 2 December 11th 03 09:26 AM
After OpenText all pastes from external apps use format from OpenText Jim[_31_] Excel Programming 1 November 8th 03 02:17 AM
Workbooks.OpenText Alistair Eberst Excel Programming 2 October 21st 03 12:50 PM
OpenText bug ? Orlando Magalhães Filho Excel Programming 0 August 1st 03 04:14 AM


All times are GMT +1. The time now is 09:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"