i resolved it like that
Excel.Range mynewrange =
(Excel.Range)Globals.Sheet1.Application.Selection;
best regards
tolga
Hello mdpowers,
look in your projectfolder for the .csproj file.
Open the file with wordpad and look for the section:
<PropertyGroup>
<!--
properites needed to register addins
AddinRegistryHive - Root registry hive for the addin
AddinRegistryKey - Registry key where this addin is registered
-->
<AddinRegistryHive>CurrentUser</AddinRegistryHive>
<AddinRegistryKey>Software\Microsoft\Office\Outlook\Addins</AddinRegistryKey>
</PropertyGroup>
change CurrentUser to LocalMachine
Maybe that helps.

Signature
Helmut Obertanner
Senior Developer
MVP - Visual Developer VSTO
http://www.x4u.de
>
Helmut Obertanner - 09 Apr 2006 18:26 GMT
Sorry, this answer was related to another post:
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.vsnet.vsto
ols.office&mid=a1261925-ad4c-48e9-a8ff-d20d82590de0

Signature
regards
--
Helmut Obertanner
Senior Developer
MVP - Visual Developer VSTO
http://www.x4u.de
> Hello mdpowers,
>
[quoted text clipped - 16 lines]
>
> >