如何使用Power Automate触发Excel Autofill

发布于 2025-02-09 04:46:13 字数 243 浏览 1 评论 0原文

我有一个使用Power Automate创建的Excel表。

该表有来自网络的一些数据,在某个时候,我添加了一个列(在第4列中说,然后我在那里有一个函数 - 让我们假设其“ = b2+c2” - 现在我想自动化相当于双击D2单元格(带有上述公式)的右下角,以使其自动填充向下填充... 可以使用Power Automate来完成吗?

(我知道我可以获取第一个自由行,然后循环并将上述公式插入所有单元格 - 但这比进行自动填充速度要慢...)

I have an excel sheet that I am creating using Power Automate.

The sheet is populated with some data from the web and at some point I add a column (lets say at column 4 and then I have a function there - lets assume its "=B2+C2" - now I want to automate the equivalent of double clicking the bottom right corner of the D2 cell (with said formula) to cause it to auto fill downwards...
Can this be done with Power Automate ?

(I know I can get the first free row and then loop and insert the above formula to all the cells - but that is way slower than doing an autofill...)

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笑梦风尘 2025-02-16 04:46:13

在PAD中,您可能希望将单元格从第一行和粘贴复制到剩余范围,可能需要使用发送键Ctrl-V

In PAD you may want copy the cell from 1st row and paste to remaining range, might need to use send key ctrl-v

栩栩如生 2025-02-16 04:46:13

我知道我在这里的答案很晚,但是我使用了这个线程和其他一些线程来解决一个非常相似的问题。

为了帮助清除事情,这是我使用的设置:

Activate cell in excel worksheet (in advanced)
D
2

Send keys 
{Control}{c}

Send Keys
{Down}

Send Keys
{Control}{v}

Send Keys
{Down}

Send Keys
{Control}{v}

...等等。

如果您试图在几列上自动化自动填充:

  • 如果它们彼此相邻:
Select Cells in excel workbook
D
2
f
2

Send keys 
{Control}{c}

Send Keys
{Down}

Send Keys
{Control}{v}

Send Keys
{Down}

Send Keys
{Control}{v}

...等等,等等。

  • 如果他们不彼此相邻:
    只需在顶部示例中制作D2“激活单元格”,然后完成(并进行了测试)复制流程中的所有步骤,粘贴并更改“激活Excel Workbook中的激活单元格”命令的输入。只需继续此过程,直到所有需要自动填充的单元都完成的过程。 (我将这种方法用于我的项目,我的流程最终是大约7000个动作)

I know im late to the answer here, but i used this thread and a few others to help with a very similar question.

To help clear things up this is the setup i used:

Activate cell in excel worksheet (in advanced)
D
2

Send keys 
{Control}{c}

Send Keys
{Down}

Send Keys
{Control}{v}

Send Keys
{Down}

Send Keys
{Control}{v}

... and so forth and so on.

If you are trying to automate an autofill on several columns:

  • If they are next to each other:
Select Cells in excel workbook
D
2
f
2

Send keys 
{Control}{c}

Send Keys
{Down}

Send Keys
{Control}{v}

Send Keys
{Down}

Send Keys
{Control}{v}

... and so forth and so on.

  • If they are not next to each other:
    Simply craft the D2 "activate cell" in the top example and once completed (and tested) copy all steps in the flow, paste and alter the input for the "activate cell in excel workbook" command. Simply continue this process until all cells needing autofill are complete. (I used this approach for my project and my flow ended up being around 7000 actions)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文