
Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
Hi Greg,
In the general case of multi-cell (single area) selections there is a
difference between the Selection (just the selected cells) and the
Selection.Range (the cells starting with the first cell in the selection and
moving left-to-right, top-to-bottom through the table to the last cell in
the selection). As you have observed in your case Selection.Cells.Count is 2
(row 1 column2, and row2 column 2) and Selection.Range.Cells.Count is 4
(row1 column2, row 1 column 3, row 2 column 1, and row 2 column 2)
Calculate is a method of the Selection and, although it does work on
non-Selection Ranges, it works as though the Range supplied were a
Selection - that is (in your simple table) the Range from cell(1,2) to
cell(2,3) which contains 5 cells each with a value of 2, Calculates to 8
because cell(2,1), although in the range, is not included in the
calculation.

Signature
Enjoy,
Tony
>I haven't answered my questions, but I have found away around the
>unfortunate results using Selection.Range.Cells:
[quoted text clipped - 34 lines]
>>
>> Thanks
Greg Maxey - 02 Jan 2008 00:01 GMT
Thanks Tony.

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Hi Greg,
>
[quoted text clipped - 56 lines]
>>>
>>> Thanks