I might settle with a soultion where I have to force
update through F9, but if you would give me a hint to where and how I could
insert an event trigged macro to do the last calculation, I'll be more than
intrested to try it out.
Thanx again Ron.
Mr. Smith
Funny. In trying to set things up so that with Calculation set to automatic, I
could get ConcatRange to NOT calculate, I failed.
So I'm not sure what the circumstances are when one has Calculation set to
Automatic, for this formula to fail. I know it was doing it yesterday here,
but I cannot seem to reproduce that problem. Perhaps someone can jump in and
give some advice in this regard.
In any event, you can detect various types of worksheet change events and
trigger macros. To enter this kind of a routine, right click on the sheet tab
and select View Code from the menu that opens. Then Select Worksheet in the
left hand box above the window, and something appropriate from the right hand
box.
Here you can set up a routine to test certain cells, see if they have been
affected, and, if so, force a recalculation for the ConcatRange function.
For example, if when your user makes an entry in A2:A10 you wish to force the
recalculation of ConcatRange which is in A1, something like this:
========================
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim AOI As Range
Set AOI = [a2:a10]
If Not Intersect(Target, AOI) Is Nothing Then
[A1].Calculate
End If
End Sub
======================
But, as I said, I'm not sure why I can't get ConcatRange to NOT recalculate
today with Calculation set to Automatic (even without Application.Volatile).
--ron