473,246 Members | 1,335 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,246 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 4118
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: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
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...

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.