View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Raphael Saccomani Raphael Saccomani is offline
external usenet poster
 
Posts: 3
Default How to get actual sheet in my workbook?

hello again,

this sample works fine!

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


but generate a new Excel Application Work Book, i need to get actual opened
workbook.

and the codeproject code we need the workbook fullpath to open!

how to get the full path or actual excel.application class??





"Jacob Skaria" wrote:

http://www.codeproject.com/KB/cs/Exc...ion_in_C_.aspx

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