View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default How to get actual sheet in my workbook?

You may refer

http://support.microsoft.com/kb/302084

To read values you can either use

variable = Range("A" & n)
where A is the column name and n is the row number

OR
variable = Cells(x,y)
where x is the row number and y is the column number



--
If this post helps click Yes
---------------
Jacob Skaria


"Raphael Saccomani" wrote:

Hello all, i am trying to developer a excel addin with Visual Studio
2008/Office 2007 and C#!

my question is:

I create a simple Ribbon control with my button, and in the Button click i
want to get the worksheet [0] (fist) and read some cells to paste this values
in word..

my i have no ideia how to do this, can anybody help me?

Tools:
visual studio 2008, Office addin development

Language:
C#

Office Version:
2007