阅读背景:

如何根据我是否在Row3中选择了一个单元格来跳过某些代码行?

来源:互联网 

I am trying to have a spreadsheet where the user selects any cell and then runs this macro. If the cell is not in Row 3 then select the entire row that that cell is in, cut and insert that row in Row 3. (this part works fine) If the selected cell is in Row 3 then I want to skip the cut and insert part of the code. This seems like it should be simple to do but I get the error: End if without block if, when I run this macro. Any help would be greatly appreciated. Thank you.I am trying to have a spreadsheet where the use




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: