ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open delimited text file to excel without changing data in that file (https://www.excelbanter.com/excel-programming/278659-open-delimited-text-file-excel-without-changing-data-file.html)

zohanc

Open delimited text file to excel without changing data in that file
 
Hi there,

I need help in opening text delimited file to excel without excel
changing data such as dates or number without heading zeros to its
version.

Right now, I am thinking to write VB macro behind command button, to
set a new worksheet in to text format and get the text delimited file
into that worksheet. Could you suggest how I can do this ? sample codes
will be helpfull too.

Thank you



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Bill Li

Open delimited text file to excel without changing data in that file
 
I think you can record a VB macro when you open the text
deleimted file in excel and modify the macro.

-----Original Message-----
Hi there,

I need help in opening text delimited file to excel

without excel
changing data such as dates or number without heading

zeros to its
version.

Right now, I am thinking to write VB macro behind command

button, to
set a new worksheet in to text format and get the text

delimited file
into that worksheet. Could you suggest how I can do

this ? sample codes
will be helpfull too.

Thank you



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from

http://www.ExcelForum.com/

.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com