I have the following problem:
I have a dynamic namerange named TestDym .
I am trying to retrieve the name of the worksheet that this namerange belongs through vba.
I know that you can only refer to a namerange with the following structure:
Range("TestDym")
However, I cannot get the sheet name of this namerange.
Is it possible?
Regards
Thanasis
Range("TestDym").Worksheet.Name
这将为您提供您所在范围的工作表的名称。
Range("TestDym").Parent.Name
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.