作为 LibraCalc 宏函数的一部分,如何直接将单元格值加 1

发布于 2025-01-18 11:54:26 字数 336 浏览 1 评论 0原文

我正在制作电子表格,以投票参加一场汽车展览。我在几年前使用了基础,但它与编写宏不同,因此我一直在 libracalc 中使用宏记录功能(这与LibraOffice一起使用,这是一种类似于MS的开源程序。 Office和Excel。)我能够从表中选择要更改的单元格。我将单元格值复制到另一个单元格,将1添加到值中,然后将其保存回表作为值。

我希望更快地使用更直接的方法,以直接递增单元格值,同时保持结果为值。没有所有副本,移动和过去的步骤。

我的宏记录功能有效,但它比我想要的要慢,而且不是很优雅。可以有数百票需要计算,因此节省时间很重要。我担心的是,一个效率低下的程序太慢了。

I am making a spreadsheet to tally votes for a car show. I used basic years ago but it is not the same as writing a macro so I have been Using the macro record function in LibraCalc (this is included with LibraOffice, an open source program similar to MS Office and Excel.) I am able to select the cell I want to change from a table. I copy the cell value to another cell, add 1 to the value, then save it back to the table as a value.

I would like a faster more direct method to directly increment the cell value while keeping the result as a value; without all the copy, move, and past steps.

My macro record function works but it is slower than what I want and not very elegant. There can be several hundred votes to count so saving time is important. My concern is an inefficient program will be too slow.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文