Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Problem Writing macros in an Excel File

by davies (Parson)
on Feb 03, 2014 at 11:49 UTC ( #1073185=note: print w/replies, xml ) Need Help??

in reply to Re^2: Problem Writing macros in an Excel File
in thread Problem Writing macros in an Excel File

If, as you seem to be implying, centos precludes Excel (I've heard of centos vaguely but don't know what it is or does), then you can't run Excel macros anyway, so why would you worry about them being removed? If you want to run Excel macros, you need a copy of Excel (and that includes user-defined functions, which are a species of macro). If you have that, you can do what you like with Win32::OLE, but not with Spreadsheet::whatever. If you are generating Excel files for other people and want to save macros, you must have Excel, which you can automate with Win32::OLE. Either that, or write your own module to save Excel files with macros. You will have to understand the Excel file format extremely well and have quite a bit of time. I have discussed this with John McNamara, but I don't know enough Perl and, like him, am working on other projects. It's not impossible, but it's likely to be far easier to get yourself a dual boot system with Excel. Another option is one I have used in several places. Get hold of a gash machine that's going to the skip and, provided it has Losedows on it, commandeer it. Put Excel on if it's not already there, plus Perl. Then use that machine for stuff you need Excel to do and your main machine for everything else. If space is tight, get a KVM switch so you can put the gash machine on the floor & use the same peripherals.


John Davies

  • Comment on Re^3: Problem Writing macros in an Excel File

Replies are listed 'Best First'.
Re^4: Problem Writing macros in an Excel File
by Striker (Novice) on Feb 03, 2014 at 12:00 UTC

    Thanks for the Reply

    CentOS is a Linux Distribution having Open Office. Its executing macros just as Microsoft Office Windows.

Re^4: Problem Writing macros in an Excel File
by Striker (Novice) on Feb 03, 2014 at 13:27 UTC

    Sorry my bad, I got confused earlier, Thanks for your help

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1073185]
[james28909]: ok i have a new question ;)
[james28909]: i am not sure how to ask google this either
[james28909]: i am getting the current time on my machine with scalar localtime;
[james28909]: i am scraping a website and retrieving a date stamp of an article.
[james28909]: well time/data stamp of the article
[stevieb]: james28909: what's the problem/question?
[james28909]: it is not an absolute date like "27" or "31". sometimes it is like wednesday or friday
[james28909]: and i need to format those special instances into an absolute date instead of "yesterday"
[stevieb]: ask a question on SoPW, and include at least a half-dozen examples of the input, and at least one example of expected output

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-04-29 02:34 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.