Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
| Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 23rd, 2009, 04:54 PM
Authorized User
 
Join Date: Oct 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Run excel and execute macro

Hello,

I am trying to create a program that will allow users to browse for an excel worksheet through their computer and when they press the "Format!" button, it will run a macro that I created from VBA. Here is what the template looks like: http://img34.imageshack.us/img34/7834/picture2ub.jpg

I believe I am going to use C++ to build the application, but I don't know the codes that will allow users to browse the worksheet to be formatted and run the macro from excel.

Any help will be appreciated, thanks!
Reply With Quote
  #2 (permalink)  
Old October 23rd, 2009, 05:10 PM
Authorized User
 
Join Date: Oct 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By the way, I need this to work in Excel 2003 and Excel 2007. Thanks
Reply With Quote




Similar Threads
Thread Thread Starter Forum Replies Last Post
Application to run excel vba macro dyung2 Excel VBA 9 October 28th, 2009 10:57 AM
execute an excel macro via a .vbs file ismailc VB.NET 2002/2003 Basics 1 January 11th, 2007 04:19 PM
Excel Formula End Range Changes when Macro Is Run maaron Beginning VB 6 0 October 11th, 2005 10:33 AM
Run macro when exit/close excel dgilford Excel VBA 1 September 8th, 2005 02:42 AM
How do I execute / run an Access Macro Dean Hewitt Access ASP 0 February 11th, 2004 05:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.