Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Office Automation > Run Excel Macro From VB.Net


Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2003, 04:14 AM
Monkey_Man Monkey_Man is offline
Regular
 
Join Date: Nov 2003
Location: Sheffield, United Kingdom
Posts: 54
Question Run Excel Macro From VB.Net


Just a quick question is there anyway to run an excel macro from VB.net
I can open excel spreadsheet and manipulate the cells from vb.net, I have a lot of macro in excel that I want to link into a series of buttons on a form in vb.net. Is this possible if yes how do I go about doing that ?
Reply With Quote
  #2  
Old 12-17-2003, 06:34 AM
Shurik12 Shurik12 is offline
Steppe Walker

Retired Moderator
* Expert *
 
Join Date: Jul 2002
Location: Ukraine/Russia/Belgium
Posts: 7,227
Default

Hi,

Seems to be feasible. Excel automation should help.
Have a look here:

http://support.microsoft.com/?kbid=306682


Regards,
Shurik.
Reply With Quote
  #3  
Old 12-18-2003, 03:16 AM
Monkey_Man Monkey_Man is offline
Regular
 
Join Date: Nov 2003
Location: Sheffield, United Kingdom
Posts: 54
Default

Quote:
Originally Posted by Shurik12
Hi,

Seems to be feasible. Excel automation should help.
Have a look here:

http://support.microsoft.com/?kbid=306682


Regards,
Shurik.




Thanks that has sorted my problem out
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 97, start from vb and run macro... strange problem XScars Excel 2 08-01-2003 02:56 AM
Openning Excel and Running Macro from Word - Macro WW_Indy Word, PowerPoint, Outlook, and Other Office Products 0 06-22-2003 06:09 AM
Run Access macro from Excel macro TrentG Word, PowerPoint, Outlook, and Other Office Products 3 12-09-2002 11:57 AM
Repeating List remmarg Interface and Graphics 2 10-30-2002 06:57 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->