试图得到这个,以便文本将转到表格最后一行下的下一行
我试图弄清楚如何把信息放在Excel表格的底线之下。 这是我有:
Cells(Rows.Count, 1).End(xlUp).Value = "test"
然而,用“testing”replace当前的最后一行,但我需要它作为下一行。
我将如何去做这件事?
尝试
Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Value = "test"
这是我的macros中的代码
Sub SetTestValue() Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Value = "test" End Sub
这里是输出