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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all, I'm collecting system configuration and inventory informa

Status
Not open for further replies.

d3funct

MIS
Jul 13, 2000
313
US
Hi all,

I'm collecting system configuration and inventory information and formatting it for output to a .xls file. What I want to know is how can I use a perl script to automatically update the .xls file from my unix machine to my windows .xls file? Is it possible, I've heard most anything is possible with perl. Thanks for the help.

Jon [sig]<p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
[/sig]
 
Hi Jon,

I believe that it is possible to import a comma delimited text file into excell. Unless you know how to create the structure of excell files directly it might be worth looking into this option as perl is very good IMO at creating text files. There are probably other ways, I just can't think of any :)

fortytwo [sig]<p>fortytwo<br><a href=mailto:will@hellacool.co.uk>will@hellacool.co.uk</a><br><a href= test site</a><br> [/sig]
 
hello d3funct,
Perl can get into (read/write) EXCEL files via the OLE module. It takes a little playing around with to figure out how to navigate inside the xls file. You might get some clues at tutorial number 6. [sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top