计算床单数量直到具体
VBA内有没有办法计算工作簿中存在的工作表数量,直到达到某个工作表名称为止。例如,我试图停止的工作表称为“摘要”。我想知道在那张床单之前有多少张纸,包括“摘要”。
Is there a way within vba to count the number of worksheets present in a workbook until a certain worksheet name is reached. For example, the worksheet that I am trying to stop at is called "Summary". I want to know how many sheets are present before that sheet including the "Summary" one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我是堆栈溢出/编码的新手,直到我完成过度复杂版本的方式之前,我才看到底层的响应。
sub countingsheets()
end sub
I am new to stack overflow/coding and did not see the undercomplicated response until I finished my way over-complicated version.
Sub CountingSheets()
End Sub