LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Application.Evaluate question

It seems like Application.Evaluate always evaluates the command twice.
I have a custom addin and want to write a macro to evaluate an addin
command. By setting a break point at my addin function, I can see that when
Application.Evaluate is evoked, it called the addin function twice. Is there
any way to disable this behaviour or is there any alternative to
application.evaluate that would only run the command once?

I am using excel 2002 SP3.

Thanks.

(PS. I cannot put the command in a cell and calculate because the
addin-function returns a variable-size array and I want to get the returned
array and do some additional processing on it.)

 
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
evaluate function only in Excel application x taol Excel Programming 1 March 17th 08 09:53 PM
Interpretation of Application.Caller.Parent.Evaluate FARAZ QURESHI Excel Discussion (Misc queries) 1 December 29th 07 07:59 PM
Alternatives to Application.evaluate(Long Formula) Awill Excel Programming 2 April 3rd 07 02:48 AM
Error 2015 with Application.Evaluate Jeff Excel Programming 3 June 6th 06 04:00 PM
A simple question -- Evaluate() kaon[_12_] Excel Programming 2 July 13th 04 10:28 AM


All times are GMT +1. The time now is 08:39 AM.

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

About Us

"It's about Microsoft Excel"