This script only select the current sheets
Sheets(Range(c.Address).Offset(0, 2).Text).Visible = True
i tried
Sheets("name).Range(c.Address).Offset(0, 2).Text.Visible = True
is not work, how to select the target sheet?
thanks
Sheets("name_of_sheet").Range(c.Address).Offset(0, 2).Text.Visible = True
Works for me. Are you missing the 2nd "
in Sheets("name)
or was it a typo in this question?
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.