Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default OpenText method

Hello,

I want to use OpenText to parse a tab delimited file, delete some rows
and then save as a new xls. However, OpenText does not return a
reference to the opened text file. Is there any better way to get the
reference apart from using ActiveWorkbook?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default OpenText method

That's what I'd do.

Equiangular wrote:

Hello,

I want to use OpenText to parse a tab delimited file, delete some rows
and then save as a new xls. However, OpenText does not return a
reference to the opened text file. Is there any better way to get the
reference apart from using ActiveWorkbook?

Thanks.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default OpenText method

I wonder if there's any problem if the user is editing other opened
workbooks and the text file to be parsed is quite large.

Dave Peterson wrote:
That's what I'd do.

Equiangular wrote:
Hello,

I want to use OpenText to parse a tab delimited file, delete some rows
and then save as a new xls. However, OpenText does not return a
reference to the opened text file. Is there any better way to get the
reference apart from using ActiveWorkbook?

Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default OpenText method

The text file will be the activeworkbook right after you open it.

I've never had any trouble doing this kind of thing.

Equiangular wrote:

I wonder if there's any problem if the user is editing other opened
workbooks and the text file to be parsed is quite large.

Dave Peterson wrote:
That's what I'd do.

Equiangular wrote:
Hello,

I want to use OpenText to parse a tab delimited file, delete some rows
and then save as a new xls. However, OpenText does not return a
reference to the opened text file. Is there any better way to get the
reference apart from using ActiveWorkbook?

Thanks.



--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default OpenText method

OK

Dave Peterson wrote:
The text file will be the activeworkbook right after you open it.

I've never had any trouble doing this kind of thing.

Equiangular wrote:
I wonder if there's any problem if the user is editing other opened
workbooks and the text file to be parsed is quite large.

Dave Peterson wrote:
That's what I'd do.

Equiangular wrote:
Hello,

I want to use OpenText to parse a tab delimited file, delete some rows
and then save as a new xls. However, OpenText does not return a
reference to the opened text file. Is there any better way to get the
reference apart from using ActiveWorkbook?

Thanks.


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
OpenText Method Question Tony Sinclair Excel Programming 5 March 30th 07 04:21 AM
OpenText method not working Pflugs Excel Programming 2 June 6th 06 01:21 AM
opentext method [email protected] Excel Programming 0 January 31st 06 07:52 AM
OpenText Method JH Excel Programming 2 August 24th 05 11:42 PM
How to use Opentext method with xlFixedWidth? Together[_8_] Excel Programming 2 March 3rd 04 03:27 PM


All times are GMT +1. The time now is 09:28 AM.

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

About Us

"It's about Microsoft Excel"