Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default XLL Formula Reference

You gave VBA code, but I need to know IN THE XLL (C++) how to do it.
Also, what you wrote is backword - is there is a formuale currently
evalutaing, I need to know what cell that formula is in; not what you
gave which is what formula is in a certain cell.
thanks!


Peter Huang [MSFT] wrote:
Hi Matthew,

You may try to use the range.formula.
Here is my code.
Sub f()
Msgbox ActiveSheet.Range("F4").Formula
End Sub

Did this answer your question?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------

Date: Thu, 18 Sep 2003 16:56:27 -0400
From: Matthew Wieder
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)


Gecko/20030624 Netscape/7.1 (ax)

X-Accept-Language: en-us, en, he
MIME-Version: 1.0
Subject: XLL Formula Reference
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Newsgroups: microsoft.public.excel.programming
NNTP-Posting-Host: 207.106.112.178
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:417179
X-Tomcat-NG: microsoft.public.excel.programming

We inherited an xll which provides a formula that can be used in a cell
in Excel. If someone uses that formula on a spredahseet (let's say in
cell F4) and then they recalc, is there some way for us in that xll code
to know that the formula is in cell F4?
thanks!





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default XLL Formula Reference

Hi Matthew,

I am sorry for confusion. I don't think there is such function to achieve
your aim.
Did Rob Bovey answer your question?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
Date: Fri, 19 Sep 2003 09:59:11 -0400
From: Matthew Wieder
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)

Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, he
MIME-Version: 1.0
Subject: XLL Formula Reference
References:


In-Reply-To:
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Newsgroups: microsoft.public.excel.programming
NNTP-Posting-Host: 207.106.112.178
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:417361
X-Tomcat-NG: microsoft.public.excel.programming

You gave VBA code, but I need to know IN THE XLL (C++) how to do it.
Also, what you wrote is backword - is there is a formuale currently
evalutaing, I need to know what cell that formula is in; not what you
gave which is what formula is in a certain cell.
thanks!


Peter Huang [MSFT] wrote:
Hi Matthew,

You may try to use the range.formula.
Here is my code.
Sub f()
Msgbox ActiveSheet.Range("F4").Formula
End Sub

Did this answer your question?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no

rights.

--------------------

Date: Thu, 18 Sep 2003 16:56:27 -0400
From: Matthew Wieder
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)


Gecko/20030624 Netscape/7.1 (ax)

X-Accept-Language: en-us, en, he
MIME-Version: 1.0
Subject: XLL Formula Reference
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Newsgroups: microsoft.public.excel.programming
NNTP-Posting-Host: 207.106.112.178
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:417179
X-Tomcat-NG: microsoft.public.excel.programming

We inherited an xll which provides a formula that can be used in a cell
in Excel. If someone uses that formula on a spredahseet (let's say in
cell F4) and then they recalc, is there some way for us in that xll code
to know that the formula is in cell F4?
thanks!







  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default XLL Formula Reference

he's working on it.
thanks.

Peter Huang [MSFT] wrote:

Hi Matthew,

I am sorry for confusion. I don't think there is such function to achieve
your aim.
Did Rob Bovey answer your question?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------

Date: Fri, 19 Sep 2003 09:59:11 -0400
From: Matthew Wieder
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)


Gecko/20030624 Netscape/7.1 (ax)

X-Accept-Language: en-us, en, he
MIME-Version: 1.0
Subject: XLL Formula Reference
References:




In-Reply-To:
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Newsgroups: microsoft.public.excel.programming
NNTP-Posting-Host: 207.106.112.178
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:417361
X-Tomcat-NG: microsoft.public.excel.programming

You gave VBA code, but I need to know IN THE XLL (C++) how to do it.
Also, what you wrote is backword - is there is a formuale currently
evalutaing, I need to know what cell that formula is in; not what you
gave which is what formula is in a certain cell.
thanks!


Peter Huang [MSFT] wrote:

Hi Matthew,

You may try to use the range.formula.
Here is my code.
Sub f()
Msgbox ActiveSheet.Range("F4").Formula
End Sub

Did this answer your question?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no


rights.

--------------------


Date: Thu, 18 Sep 2003 16:56:27 -0400
From: Matthew Wieder
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)

Gecko/20030624 Netscape/7.1 (ax)


X-Accept-Language: en-us, en, he
MIME-Version: 1.0
Subject: XLL Formula Reference
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Newsgroups: microsoft.public.excel.programming
NNTP-Posting-Host: 207.106.112.178
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:417179
X-Tomcat-NG: microsoft.public.excel.programming

We inherited an xll which provides a formula that can be used in a cell
in Excel. If someone uses that formula on a spredahseet (let's say in
cell F4) and then they recalc, is there some way for us in that xll code
to know that the formula is in cell F4?
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
How do I set a formula, that add next cell reference in a Formula Gary Excel Worksheet Functions 2 July 18th 09 12:20 AM
Reference formula formula help Excel Discussion (Misc queries) 3 February 19th 07 02:47 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Look Up Reference Formula JR573PUTT Excel Discussion (Misc queries) 7 March 9th 06 10:14 PM
Is it Possible in a formula to have a formula for cell reference? RogerBarker Excel Worksheet Functions 3 February 16th 05 09:00 PM


All times are GMT +1. The time now is 06:45 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"