问题标签 [xlsm]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - 如何在excel中使用VB SCRIPT调用jar文件并按住屏幕
我想在excel中使用vb脚本调用一个java jar文件。我的文件格式是“xlsm”,我的 vb 脚本代码在哪里。
当我执行我的代码时,控制台来来去去,我不写控制台上的内容。请看一下代码
我试过 Application.ScreenUpdating, Application.visible 来保持屏幕但无法保持控制台..请帮助我
python - 如何使用 openpyxl 使用宏保存 XLSM 文件
我有带有宏功能的.xlsm文件。我正在使用openpyxl加载它并将一些数据写入文件,最后想保存为不同的.xlsm文件。
要将文件保存为 XLSM 文件,我在 Python 脚本中使用了以下代码。
但如果我按上述方式保存,我将无法打开该文件。但是,如果我将它保存为.xlsx,那么我可以在没有原始文件具有的宏功能的情况下打开文件。
我想打开一个具有宏功能的 Excel 工作表,编辑文件并使用openpyxl将其保存为新的.xlsm文件。我怎样才能做到这一点?
excel - 在 Node.js 中解析 xls/xlsx/xlsm
在 Node.js 中运行,我需要能够解析来自 Excel .xls、.xlsx 和 .xlsm的单元格值。
有没有可用的解决方案?我怀疑是否有一个模块可以解决问题,所以也许有一种方法可以在内部将两种格式转换为第三种格式并拥有一个格式解析器?
有没有其他人遇到过这个问题?如果是这样,你想出了什么样的解决方案?
任何帮助是极大的赞赏。谢谢
html - 将搜索框从旧页面转移到新设计(从头开始)
我是一名计算机科学专业和相对经验丰富的前端开发人员(HTML、CSS、Javascript,以及一些 PHP、Java、Ruby 和 Linux 命令行的开发历史)。
最近,我与一个正在为一家产品销售公司重新设计网页的团队签约。我被指派获取客户的 pdf 模板并将它们转换为工作的 HTML/CSS 文件,他们可以在他们愿意的时候将这些文件实施到他们的网站上。我已经完成了作业的每一部分,除了每页标题上的搜索框。
我的问题是我需要从旧的标题设计到新的标题设计中实现相同的搜索框。我发现了一个很好的例子,它与我在这个网站 ( http://shop.manorfinewares.com/intro.html )上处理的几乎完全相同。[是右上角的搜索栏]
我不确定获取搜索栏(例如这个)并将其转移到我为它们编码的新布局的正确过程,同时确保在我将成品交给他们时保持其所有功能。[为了争论,我们可以说它与上面链接的网站上列出的搜索栏完全相同]
我无法表达我对任何可以提供帮助的人的感激之情。不太确定我能提供什么回报,但如果你能想到什么,我一定会答应的。非常感谢任何提示。让我知道您是否需要任何其他信息来更好地提供帮助:)希望您能以良好的心情阅读此消息,并且一切都很好(对不起,顺便说一句,这是我第一次发帖)c# - Perform excel macro on a csv file from C#
I need to perform an existing Excel Macro (written in VB, can be copied from Excel using the Macro editor) on an existing csv file using C#. I already have working code that I can use to perform the Macro on an xlsm file, which looks like this:
However, it does not work if the file specified is a csv file. So I need help make similar code work on a csv file, or an automated process to convert the csv file to an xlsm file from C#.
Also, it would be helpful to be able to take the VB macro code as a string and be able to run a macro using a method that would take the string as an argument or some similar process.
java - 使用 apache poi 写入 xlsm (Excel 2007)
我已经编写了用于编写 xlsm(Excel 2007)的 java 文件。
使用 Apache POI 库,编写 xlsx 文件是成功的。并且写入 xlsm 文件是成功的。但是由于打开xlsm文件时出错,我无法打开xlsm文件。
使用 Apache POI 库编写 xlsm 文件是否可行?
如果编写 xlsm 可行,请提供指南如何使用 Apache poi 库编写 xlsm 文件。
谢谢
java - 尝试读取 .xlsm 文件时出现 java.lang.NoSuchMethodError
我在以下位置收到错误:
我阅读了其他类似的问题,但它们都建议使用 XMLBeans 2.0+ 版。但我使用的是 2.6,我找不到任何其他解释可能导致此问题的原因。
excel - worksheet_change save in xlsx
Does the excel file have to be xlsm for the worksheet_change event to work, or can this be done in xlsx. I fear it's only xlsm. Although it seems like a small thing, asking some co-workers to select 'enable macros' seems to be too much to ask
perl - 如何通过 Perl 写入现有的 .xlsm 文件
有人可以澄清一下是否有任何 Perl 包可以编辑预先存在的 .xlsm 文件?
我尝试了在 CPAN 页面和本网站上发布的几个使用 WriteExcel 和 ParseExcel::SaveParser 组合的示例。它们不适用于 .xlsm 文件。
任何帮助,将不胜感激。
谢谢。
macos - Suppress dialog when using VBA to save a macro containing Excel file (.xlsm) as a non macro containing file (.xlsx)
How do I suppress the dialog that says "Visual Basic macros will be removed if you save the file in this format. Are you sure you want to use this format?" (see picture below).
Essentially, I'm trying to use a macro to save a .xlsm file as an .xslx file?. I've tried all the dialog suppression code I can find and it isn't working.
Here's my code:
Here's the dialog:
As you might imagine, I need to convert a lot of workbooks and would prefer not to do this manually.
-D.