Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Documentation on programming Excel from Vis. Studio StandardEdition.

I've written a VB.NET app using Visual Studio 2008, Std. Edition. I
want it to create and write to an Excel 2007 file. I have it doing
most of the operations I want it to do. This article by Ken Getz gave
me enough information to get started.

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

But there are others operations I need, like setting column width,
that I can't find in that paper and all the other documentation I find
for automating Excel is for users of Visual Studio Tools for Office
which comes only with VS Pro Edition. Looks like the principal way to
automate MS Office is by using Visual Studio Tools for Office. Yet
clearly some of it can be done with VS Std. Edition because I've done
it.

My question is: other than the article I cite above, where can I find
a clear statement on what I can do with Office 2007 from VS Std Ed?
Is there no documentation for VS Std Ed users?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Documentation on programming Excel from Vis. Studio Standard Edit

You should be able to do everything that you can do with regular excel in
VB.Net provided you use Application boefore the command and tthe correct
libraries are loaded in VB.Net. VB.Net is an improvement to VB6 and has more
features than the VBA in excel. But even from VBA in excel you can do
everything that yo can do in VB.Net or VB6 by calling the Wind32 DLL
functions.

If you can't find the documentation on any of the functions assume that they
will work exactly like the VB6 or Excel VBA. the only thing you have to be
carefully about is the Application. The VBA in Excel is different from the
VBA in Access. So when you open an excel application you may need to use obj
= CreateObject("Excel.Application") and when you use Access functions you
need an Access object like obj = CreateObject("Access.Application").

" wrote:

I've written a VB.NET app using Visual Studio 2008, Std. Edition. I
want it to create and write to an Excel 2007 file. I have it doing
most of the operations I want it to do. This article by Ken Getz gave
me enough information to get started.

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

But there are others operations I need, like setting column width,
that I can't find in that paper and all the other documentation I find
for automating Excel is for users of Visual Studio Tools for Office
which comes only with VS Pro Edition. Looks like the principal way to
automate MS Office is by using Visual Studio Tools for Office. Yet
clearly some of it can be done with VS Std. Edition because I've done
it.

My question is: other than the article I cite above, where can I find
a clear statement on what I can do with Office 2007 from VS Std Ed?
Is there no documentation for VS Std Ed users?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Documentation on programming Excel from Vis. Studio Standard Edit

On Apr 30, 6:26*am, joel wrote:
You should be able to do everything that you can do with regular excel in
VB.Net provided you use Application boefore the command and tthe correct
libraries are loaded in VB.Net. *VB.Net is an improvement to VB6 and has more
features than the VBA in excel. *But even from VBA in excel you can do
everything that yo can do in VB.Net or VB6 by calling the Wind32 DLL
functions.

If you can't find the documentation on any of the functions assume that they
will work exactly like the VB6 or Excel VBA. *the only thing you have to be
carefully about is the Application. *The VBA in Excel is different from the
VBA in Access. *So when you open an excel application you may need to use obj
= CreateObject("Excel.Application") and when you use Access functions you
need an Access object like obj = CreateObject("Access.Application").

" wrote:
I've written a VB.NET app using Visual Studio 2008, Std. Edition. *I
want it to create and write to an Excel 2007 file. *I have it doing
most of the operations I want it to do. *This article by Ken Getz gave
me enough information to get started.


http://msdn.microsoft.com/en-us/libr...ffice.11).aspx


But there are others operations I need, like setting column width,
that I can't find in that paper and all the other documentation I find
for automating Excel is for users of Visual Studio Tools for Office
which comes only with VS Pro Edition. *Looks like the principal way to
automate MS Office is by using Visual Studio Tools for Office. Yet
clearly some of it can be done with VS Std. Edition because I've done
it.


My question is: other than the article I cite above, where can I find
a clear statement on what I can do with Office 2007 from VS Std Ed?
Is there no documentation for VS Std Ed users?


Thanks.



Joel,

OK so I should be able to do what I want to do but what documentation
or reference manuals can I use? Should I just use the VBA for Excel
reference doc?

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio and Excel GM Excel Programming 2 November 17th 08 05:05 PM
excel 2003 and c++ API documentation? danAutodesk Excel Programming 7 July 26th 06 02:29 PM
Visual Studio .Net C# and Excel Adam Excel Programming 2 March 24th 05 03:33 PM
Look up VBA documentation using Excel Help Wellie Excel Programming 2 June 8th 04 11:20 PM
Documentation 4 Excel Web Component Marek Excel Programming 0 April 14th 04 08:31 AM


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"