Advertisement

03.30.2008 at 04:12AM PDT, ID: 23280560
[x]
Attachment Details

Get worksheet name

Asked by dk_akj in Visual Studio .NET 2005, Microsoft Visual C#.Net

Tags: C#

Hi,

I'm writing ad add-in for Excel, using VS2008 and VSTO.

I have 2 questions:

1: How do I get the name og the active worksheet ?
Globals.ThisAddIn.Application.ActiveSheet. ???

2: How do I get the numer of rows in the active workbook ?

//akj
Start Free Trial
[+][-]03.30.2008 at 11:28AM PDT, ID: 21241474

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.30.2008 at 06:15PM PDT, ID: 21242643

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Visual C#.Net
Tags: C#
Sign Up Now!
Solution Provided By: webtubbs
Participating Experts: 1
Solution Grade: B
 
 
[+][-]04.01.2008 at 07:47AM PDT, ID: 21254455

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628