473,320 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Excel File in PERL

Hi friends....
I need a code in PERL script for converting a text file to a excel file(.xls)....
Mar 13 '07 #1
9 4120
KevinADC
4,059 Expert 2GB
OK, what have you tried so far?
Mar 13 '07 #2
miller
1,089 Expert 1GB
Here's the best module I know of for creating excel files:
cpan Spreadsheet::WriteExcel

And here's how to install them.
cpan faq: How to install Perl Modules

- Miller
Mar 13 '07 #3
hi all...

I am able to write a excel file from a text file.But some junk value is written in to the columns of the file...
Mar 22 '07 #4
miller
1,089 Expert 1GB
What method are you using to create the Excel file? Are you using a specific cpan module?

There is no way for us to help you unless you actually tell us exactly what you are doing.

- Miller
Mar 22 '07 #5
KevinADC
4,059 Expert 2GB
hi all...

I am able to write a excel file from a text file.But some junk value is written in to the columns of the file...
OK, thank you for sharing that exciting news with us.... ;)
Mar 22 '07 #6
miller
1,089 Expert 1GB
14anand,

Since it appears that this is a continuation of the previous thread that you've started on this forum, I'm merging those two threads.

If you really want help then you should both start providing more information in your questions, and responding when people offer you their assistance.

We are not going to be enticed to continue to help you further it if does not appear that you are involved.

- Miller
Mar 22 '07 #7
Miller,

thanks for your comments..

I am able to write an excel file from a text file using Spreadsheet ::WriteExcel module.I am using Split function in Perl to seperate the text and write it in a excel file.When i write it i am getting some junk values also being written in the columns..
Mar 23 '07 #8
I am able to write an excel file from a text file using Spreadsheet ::WriteExcel module.I am using Split function in Perl to seperate the text and write it in a excel file.When i write it i am getting some junk values also being written in the columns.I don't want these junk values to be printed.Can any one suggest me a solution to this..
Mar 26 '07 #9
I am trying to write to an excel file repeatedly. I create a new workbook with the SPreadsheet::WriteExcel module.

I need to close that file, do some more computations, come back and then add to the excel file. Is there a file open option in the module? If not, what is the best way of doing it then?

Thanks in advance
Jul 7 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: sandycat05 | last post by:
Hello all, I am a new Perl programmer. Below is the beginnings of a code that I am using to manipulate an Excel spreadsheet via Perl using win32::OLE. However, what I'd like to do is the following:...
3
by: rahatekarabhijeet | last post by:
I want to create excel sheet using perl, i had installed all the necessary modules from CPAN. The perl program i taken from CPAN itself it is given below, #!/usr/bin/perl -w use warnings; use...
3
by: toffee | last post by:
Hi all, I got a pre-formatted spreadsheet. would it be possible using js to copy the data from a table on the current webpage, open the spreadsheet and paste the content ? if so, anyone got any...
5
by: Sport Girl | last post by:
Hi everybody. I am new in PERL language and working in it since little hours, actually i am still a trainee and i need help please. In fact, i need a script in PERL that enables me to retrieve...
1
by: Sport Girl | last post by:
Hi everybody , i have the task of developing in Perl a script that retrieves data from 3 tables ( bugs, profiles, products) from a MySQL database called bugs and display them in an excel sheet...
0
by: shintu | last post by:
Hallo, I am trying to write french accented characters é è ê in Excel worksheet using my perl script , But I am stuck here as I couldnt find a way of writing it !: My code: use strict;...
1
by: mohanprasadgutta | last post by:
Hi, I need help to open a password protected excel file in perl using Win32:OLE. when I tried to open file in normal way at the time of program execution it is prompting me to enter password. I am...
1
by: amarnathreddy | last post by:
#!/usr/bin/perl -w use strict; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; my $Excel = Win32::OLE->new('Excel.Application', 'Quit'); my $Book =...
32
by: poolboi | last post by:
hi guys, i've read a lot of thread of converting excel data into CSV files. however, i need a perl script to convert CSV file into excel file now, if required modules is needed, it would be...
4
by: rpace | last post by:
I have created several online forms that when the "submit" button is clicked results are emailed to us, then manually entered into excel. we need to automate the process so that this info can be...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.