Perl - Win32 :: OLE - Excel公式 [英] Perl - Win32::OLE - Excel Formulas

查看:277
本文介绍了Perl - Win32 :: OLE - Excel公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Perl Programmer&我正在使用WIN32 :: OLE进行Excel操作。


我想通过Perl在excel中使用像''if'这样的条件公式。


先谢谢。

I am a Perl Programmer & i am using WIN32::OLE for Excel operations.

I wanted to use conditional formulas like ''if'' in excel via Perl.

Thanks in Advance.

推荐答案

我个人会用 Spreadsheet :: WriteExcel Win32 :: OLE 无法提供出色的文档。


至少,也许你可以创建一个带有函数的测试excel文件,并使用Win32 :: OLE检查它们以确定它们的包含方式。


- Miller
I personally would use Spreadsheet::WriteExcel as Win32::OLE does not provide great documentation.

At the very least, maybe you could create a test excel file with functions and examine it using Win32::OLE to determine how they are included.

- Miller


Hi Miller,

感谢您的兴趣和帮助我找到了答案。

Hi Miller,
Thanks for your Interest & I found the answer.

展开 | 选择 | Wrap | 行号


当然,请注意,任何时候你想要使用引号您可以使用qq运算符代替插值字符串。

Of course, Just note that anytime you want to use quotes " instead of an interpolated string, you can use the qq operator instead.

展开 | 选择 | Wrap | 行号


这篇关于Perl - Win32 :: OLE - Excel公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆