返回列表 上一主題 發帖

可以將運自出來的值給RANGE(),當引數嗎?

回復 3# linshin1999
rows_count = Range("A1").CurrentRegion.Rows.Count
str_rows_count = "1:" + Str(rows_count)
MsgBox Len(Str(rows_count))
MsgBox Len(rows_count)
  這可告訴你錯在哪裡
'''''''''''''''''''''''''''''''''''''''''''''''''''下面可行
rows_count = Range("A1").CurrentRegion.Rows.Count
str_rows_count = "1:" &  rows_count    字串連接要用 &
Rows(str_rows_count).RowHeight = 19.2

TOP

        靜思自在 : 人要知福、惜福、再造福。
返回列表 上一主題