返回列表 上一主題 發帖

[發問] 如何用vba知道選取區域作用的儲存格&欄&列的首欄列及尾欄列位置

Set fa = [d2:d65536].SpecialCells(xlCellTypeVisible)(1)
Set fb = [D65536].End(xlUp)
MsgBox fa.Address(0, 0) & ":" & fb.Address(0, 0)
MsgBox fa.Row & ":" & fb.Row

不知取這位址目的為何?

TOP

        靜思自在 : 並非有錢魷是快樂,問心無愧心最安。
返回列表 上一主題