[英]Using variables to select a Range
Set rng = Sheets("combine").Range("b" & (startb)":j" & (startj)).SpecialCells(xlCellTypeVisible)
i need help to pass variables into range when selecting cells.在选择单元格时,我需要帮助将变量传递到范围内。
By passing variables, you can try another indexing, like通过传递变量,您可以尝试另一种索引,例如
sh = Sheets("combine")
sh.Range(sh.Cells(row_x,col_x),sh.Cells(row_xx,col_yy))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.