VBA error 1004 - select method of range class failed

前端 未结 4 1946
臣服心动
臣服心动 2020-12-05 18:31

First time poster, so if there is any formatting, or guidelines I failed to adhere to, please let me know so that I can fix it.

So I am basically asking the user fo

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 19:00

    You can't select a range without having first selected the sheet it is in. Try to select the sheet first and see if you still get the problem:

    sourceSheetSum.Select
    sourceSheetSum.Range("C3").Select
    

提交回复
热议问题