Hi Terry,
See my article:
HOWTO: Get the code element at the cursor from a Visual Studio .NET
macro or add-in
http://www.mztools.com/articles/2006/MZ009.htm

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Hi,
>
[quoted text clipped - 12 lines]
>
> Terry
Terry - 22 Apr 2006 07:10 GMT
Thanks Carlos,
I'll check it out.
The idea for this actually came from MZ-tools for VB6 (a great add-in!)
Actually, the time I have already spent on this would I have been better
just to buy the NET version of MZ-tools (which I shall) - dumb to waste any
more of my time when you've aleady done it!
cheers
Terry
> Hi Terry,
>
[quoted text clipped - 21 lines]
>>
>> Terry
Carlos J. Quintero [VB MVP] - 24 Apr 2006 10:35 GMT
Hi Terry,
Yes, the .NET versions of MZ-Tools has that and other new features and even
a MZ-Tools SDK to extend it...
Let me know if you need further assistance.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Thanks Carlos,
>
[quoted text clipped - 7 lines]
> cheers
> Terry