The chart sheet's code module is essentially a class module. You can use Me
in a workbook or worksheet code module as well.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. -
http://PeltierTech.com
_______
wrote in message
...
That's exactly what I needed. I thought that "Me" was for within Class
definitions.
On Jan 3, 10:25 am, JE McGimpsey wrote:
'ThisWorkbook' is just the default code name for the Workbook object. It
rarely works in my applications because I change it to something more
meaningful.
If the code exists in the Chart sheet's code module, you can use "Me"
Private Sub Chart_Activate()
MsgBox Me.Name
End Sub
...