【发布时间】:2016-12-09 08:10:10
【问题描述】:
我有一列数字如下:
66234
666575
66567
665687
66090
66000
而且我需要编写检测“77”+ SomeNumber 何时开始的代码。并在新数字之间插入空行。
我应该使用什么命令?
【问题讨论】:
-
Range("").EntireRow.Insert
-
Rows(x).Insert Shift:=xlDown其中x是行号。您能否澄清这一行:“检测 77 + SomeNumber 何时开始” -
看看stackoverflow.com/questions/15417544/… /// 只用 Left(Cells(iRow + 1, iCol), 2) Left(Cells(iRow, iCol), 2) 代替原来的