Is D6 the left-most cell in the merged cells? If it is not then you should
get 0 returned.
By the way Merged Cells is not a good idea for various reasons. It is much
better to select the range of cells that you want to centre the text, (or
number), on and select Format > Cells > Alignment > Horizontal > Center
Across Selection
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk
"S" <(E-Mail Removed)> wrote in message
news:lqfJi.264519$(E-Mail Removed)...
> Cant understand this
>
> This works from sheet1 to sheet`invoice` =Sheet1!J28 (this is a
> number)
> But this doesnt from sheet 1 to sheet`invoice` =Sheet1!D6 (this has
> cells merged and is a name)
>
> Any ideas.
> thanks
>
>
>