LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Stop specific cell from recalculating?

I've created a new product as an Automation Addin. It's function is
similar to smart tags as it allows specific functions to push or pull
data between Excel and remote servers via Web Services. When a
customer ID changes in a cell, the cell next to it may recalculate,
the formula will invoke the service and pull in a customer name or
other data.

The problem is that if the user inserts/deletes columns or rows the
entire sheet is recalculated, and every cell with those formulas will
trigger a web service call. I have a couple complex formulas that
stop this from happening, but I won't expect users to put these
formulas in every worksheet that uses the functions.

So I want to allow the user to stop the firing of the specific cells
with the formulas until they want them to calculate. If they change a
customer ID they'll probably want the event to fire, but not if the
entire worksheet does a shift.

Ideally we could use an Excel function that says:
=IF($Z$1,OurFunction(foo),NoOperation)
The user could set Z1 to true as they wish to allow functions to
execute or not. Unfortunately Excel returns a True or False value if
the result of IF() is not specified.

I'm posting to this forum because I'm hoping there is a formula to do
this. If not then I'll code the AddIn to check for some conditions in
the worksheet, and if they're not met, just don't invoke the remote
call. Even then however, I still need to deal with making sure that
the current cell value doesn't change - or passing the current value
out and then returning the same value if we're doing a No-Op.

I can solve the problems but I want the solution to be elegant. Any
ideas before I start hacking away?

Thanks!!!!
 
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
Link from a specific Cell in Excel to a specific para. in Word CathyK Excel Worksheet Functions 0 August 10th 06 04:40 PM
please help! Linking a picture to a cell and recalculating automatically [email protected] Excel Discussion (Misc queries) 3 July 1st 06 03:18 PM
Stop Recalculating? stupler Excel Discussion (Misc queries) 2 March 28th 06 05:37 PM
cursor tracks / highlights recalculating cell? [email protected] Excel Discussion (Misc queries) 1 October 11th 05 08:24 PM
cell/range with formula not recalculating suzetter Excel Worksheet Functions 0 July 27th 05 05:09 PM


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