阅读背景:

在VBA中使用工作表索引而不是名称

来源:互联网 

I would like to copy some contents from my first sheet, paste them into a new sheet, then delete the first sheet and rename the new (only) sheet to Sheet1. But I never know what the second sheet will be named when I create it. Most of the time, it will be Sheet2, but I can't count on it. Here is the code taken just from creating a macro that does it, but it is using the sheet names as they were created in this instance. I want to use the index of the sheets instead but don't know the syntax:I would like to copy some contents from my firs




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

分享到: