EntireRow.Insert with上述单元格中的公式吗?

问题描述 投票:0回答:1

我有此Excel工作表

enter image description here

G6中,有一个公式表示=CONCATENATE(C6;D6;E6;F6;)

[当我尝试使用VBA插入新行时

Range("C6").EntireRow.Insert 

我想在新插入的行中找到我在=CONCATENATE()以上的公式

我已经尝试过Range("C6").EntireRow.Insert xlDown, xlFormatFromLeftOrAbove,但是它不起作用

有人知道吗?

谢谢

excel vba insert copy-paste
1个回答
0
投票
 Range("G6").EntireRow.Insert xlDown
 Range("G6:G7").FillUp
© www.soinside.com 2019 - 2024. All rights reserved.