My workspace Macros?

My workspace Macros?

Hi all,
I am newbie in C#.
How to access to Macros that exist in MyWorkspace.
Now I can access only ThisProject.cs Macros.
If I wrote code in ThisProject I can access to it via Execute VSTA macro. But if Macro exist in MyWokspace.cs I can't accessto it.
How to access this.ActiveDocument. in Project.cs
Thanks:confused:

This is a migrated post! Originally posted on 21.12.2010 by user softart2. Please be aware that information can be outdated.