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: 30
Default Excel Calculation Question

Hi all,

I am writing VBA in an excel workbook that has a third-party add-in
loaded. The add-in basically provides function wrappers for calls to
their DLL that talks to an accounting system in Oracle. Anyway, I am
wrapping on of their wrappers to add a new function, and in this
wrapper it is necessary for me to use the evaluate method on some of
their functions. The logic in this routine works and the call to
Application.Evaluate works as expected. However, my wrapper initially
returns a #Value error. If I recalculate the workbook, the #Value
error persists. However, if I put the excel cursor on the cell that
has my custom wrapper in it and then calculate, the value appears
correctly.

Now this very well maybe a problem with the vendor's add-in, but before
I try to drill into their organization to find someone who knows what
they are talking about, I thought I would post here to see if this
sounds like an Excel thing. Specifically, I thought the Calculate
method applied to the entire application. If that's the case, then why
does it matter where the cursor happens to be in the UI when I hit F9
to calc?

Thanks in advance for any help,
Johnny

 
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
Excel Question - Last Twelve Month Calculation joseph jordan Excel Worksheet Functions 3 December 31st 09 09:19 PM
Excel calculation question Adam Kroger Excel Discussion (Misc queries) 2 December 20th 05 04:11 AM
VBA calculation question momiage[_2_] Excel Programming 1 September 10th 05 04:55 PM
Excel auto calculation formula question. jckurk Excel Worksheet Functions 7 June 9th 05 09:18 PM
Calculation Question Lynn Q Excel Worksheet Functions 4 November 3rd 04 12:14 AM


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