【发布时间】:2018-08-14 22:20:29
【问题描述】:
我目前使用此代码将公式自动填充到最后填充的列:
Dim lngLastColumn As Long
lngLastColumn = Cells.Find(What:="*", SearchOrder:=xlByColumns, SearchDirection:=xlPrevious).Column
Range(Activecell, Cells(Activecell.Row, lngLastColumn)).FillRight
但它一次只能用于一行。有没有办法将它应用于我选择的所有行?
谢谢,
托马斯
【问题讨论】: