Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / April 2006

Tip: Looking for answers? Try searching our database.

How can i get Selected Range's Top Left Cell coordinates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tolga - 31 Mar 2006 12:08 GMT
Hi
i want to get the coordinates of selected range,
actually i want to get the top left cell coordinates of this range,

thanx
Tolga - 31 Mar 2006 15:09 GMT
i resolved it like that

Excel.Range mynewrange =
(Excel.Range)Globals.Sheet1.Application.Selection;

best regards
tolga
Helmut Obertanner - 09 Apr 2006 14:14 GMT
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]
>
> >  

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.