Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert excel file to tab delimited text file

Status
Not open for further replies.

paul102384

Programmer
Oct 5, 2007
30
Hi to all pb programmers,

I want to ask if how can i convert an excel file to tab delimited text file using powerbuilder


tnx....
 
Hi Paul,

What you can do is use OLE to
open excell
open the file
and then
1) select and copy all of the text into clipboard and convert into tab separated file, or ...
2) use the 'save as', choosing 'tab separated file' from excel itself.

If You need so, I'll try to help you.

To obtain the right (visual-basic) ole commands, what you can do is: open excel (the normal way, not from powerbuilder) record a macro that does exactly what you want to do from pb with ole. Edit the macro after grabbing it.

check the next link:

Miguel L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top