djl0525
Well-known Member
- Joined
- Dec 11, 2004
- Messages
- 1,238
I have these two lines in my code.
and
When I change the Exercise01 sheetname, I have to edit the code.
How can I update the code to refer to sheet index 11 instead of Exercise01?
Any assistance will be greatly appreciated.
DJ
Code:
'For c = 1 To Worksheets("[B]Exercise01[/B]").Shapes.Count
Code:
Worksheets("Callouts").Range("C4").Offset(c, 0).Value = Worksheets("[B]Exercise01[/B]").Shapes(c).Name
How can I update the code to refer to sheet index 11 instead of Exercise01?
Any assistance will be greatly appreciated.
DJ