Print Page | Close Window

VC++ call of VB code

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=2149
Printed Date: 10 May 2024 at 3:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VC++ call of VB code
Posted By: GaoJen2580
Subject: VC++ call of VB code
Date Posted: 22 April 2005 at 7:07pm
Basically I need to send the following VB command:

ActiveWorkbook.Names.Add Name:="Limits_V26x", RefersToR1C1:= _
        "=V26x!R3C1:R1000C21"

in some way, shape, style, or form.  From a VC++ project.

I have other code in same project that refer to excel.h, and I would be happy to use it.  But I can not decypher or translate this command into a VC++ command.

All help is greatly appreciated.
Thank you fro your time



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net