English 中文(简体)
可在Excel: 开放式XLS,通过指挥线进口CSV数据,印刷为PDF,近 Doc?
原标题:Is this possible in Excel: Open XLS via commandline, OnLoad import CSV data, Print as PDF, Close Doc?
  • 时间:2010-12-16 01:06:44
  •  标签:
  • excel
  • vba

我认为,为了解决一个问题,这是最快的解决办法:

  • Generate a custom CSV file on the file (this is already done via Perl).
  • Have a XLS document opened via commandline via a scripting language (clients already got a few Perl scripts running in this pipeline.)
  • Write VBA or record a macro that executes the following OnLoad:
    • Imports a the data from the CSV file into the report template,
    • Print the file via PDF driver to fixed location using data in the CSV to name the file.
    • Closes the XLS file.

因此,通过Excel 宏观,如果无法通过VBA——感谢!

<>光> I ve需要获得一个管理系统办公室的复印件,因此,比使用办公室视频演播工具要快得多。 报告模板将放在一个服务器上,这样终端用户就能够像他们一样以“测试”的形式,用“社区安全”号文档印刷“人民抵抗力量”,并在填好时进口/挪用马科或武巴。 我对《杰斯珀报告》进行了研究,但最终使用者正在把静态案文和集团置于报告之上,我以这种方式看到他们想要的报告,然后将其自动化。 我提出的问题和由此产生的评论/反馈都与这个问题有关:

问题的另一个重点是,如果通过Excel marcos(如果不是宏观产品)做到这一点,如果这种办法存在任何巨大的问题;例如,我知道这将成为“低点”,因为Excel将装上每一份工作,但服务器上有16英镑的斜线,根本没有使用。 图一. 由于我在服务器上签有一份办公室副本,这是一个更快捷的办法。

如果你回答任何问题,让我通过评论了解。

最佳回答

我恳请你从每桶中推出报告档案,然后在报告档案中采用宏观方法自动寻找最新的零件。 然后,你可以处理和产出。 因此,你刚刚需要从垂直中向根基的宏观发射适当的Excel文档,然后让Excel和VBA接管。

问题回答

暂无回答




相关问题
import of excel in SQL imports NULL lines

I have a stored procedure that imports differently formatted workbooks into a database table, does work on them then drops the table. Here is the populating query. SELECT IDENTITY(INT,1,1) AS ID ...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

Excel date to Unix timestamp

Does anyone know how to convert an Excel date to a correct Unix timestamp?

C# GemBox Excel Import Error

I am trying to import an excel file into a data table using GemBox and I keep getting this error: Invalid data value when extracting to DataTable at SourceRowIndex: 1, and SourceColumnIndex: 1. As ...

Importing from excel "applications" using SSIS

I am looking for any tips or resources on importing from excel into a SQL database, but specifically when the information is NOT in column and row format. I am currently doing some pre-development ...

热门标签