Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default epxort to excel removes trailing 0's

Hi!

The problem is that when exporting data to Excel thinks thant "0000123" is a
number. How to tell Excel that this field is text? Is there any way to call
the import wizard during exporting to Excel? That would let user select
which columns contain text. Inserting ' behind all fields is not good.

Thanks,

Rommi


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default epxort to excel removes trailing 0's

you can put all the data in one column, then let the user do Data=Text to
columns which will bring up the import wizard.

--
Regards,
Tom Ogilvy


"Rommi Saar" wrote in message
...
Hi!

The problem is that when exporting data to Excel thinks thant "0000123" is

a
number. How to tell Excel that this field is text? Is there any way to

call
the import wizard during exporting to Excel? That would let user select
which columns contain text. Inserting ' behind all fields is not good.

Thanks,

Rommi




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default epxort to excel removes trailing 0's

I'm currently using something like that:

ShellExecute(0,'open','excel',PChar('filename.txt" '),nil,SW_SHOWNORMAL);

"Rommi Saar" wrote in message
...
Hi!

The problem is that when exporting data to Excel thinks thant "0000123" is
a number. How to tell Excel that this field is text? Is there any way to
call the import wizard during exporting to Excel? That would let user
select which columns contain text. Inserting ' behind all fields is not
good.

Thanks,

Rommi



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
Save as .csv file removes trailing 00 Geir Holme Excel Discussion (Misc queries) 2 September 12th 05 10:35 AM
Save as .csv file removes trailing 00 Geir Holme Excel Discussion (Misc queries) 1 September 9th 05 05:51 PM
Excel XP removes AS part of statement Greg Bell Excel Programming 0 January 6th 04 11:25 PM
Excel XP removes AS part of statement quaoar Excel Programming 0 December 29th 03 09:38 PM
Excel XP removes AS part of statement quaoar Excel Programming 0 November 25th 03 05:34 PM


All times are GMT +1. The time now is 11:56 AM.

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"