Hi Erik Bo,
For Named ranges the rules of start with an alpha and have underscores rather than spaces appears to be the same in Excel 2007 and
Excel 2003 except that in 2007 you get a more descriptive problem solving dialog than the 'Name is not valid' one from Excel 2003
I'm not having any problem with the link still connecting on a Spreadsheet with spaces in the file name mapped/network drive (except
in the case of the separate issue you mentioned with the 'auto create backup' in Word (Excel doesn't have that choice without an
add-in in 2003 or 2007 as I recall) when you're on a network or mapped drive but when I follow your steps the field created shows a
range of cells, not a range name in the {Link...} field in Word. Are you manually replacing the cell range with a range name in your
example below?
I don't get the fields to automatically update in Word when opening the Word document even when saying [Yes] to the dialog asking if
I want the links updated, but they do update with Ctrl+A, F9 (manual field update).
=================
<<"Erik Bo Srensen" <(E-Mail Removed)> wrote in message
news:8CFA2124-E5C6-4B47-A307-(E-Mail Removed)...
Hi after "up"grading to Office2007B2TR links from Word to Named Ranges in
Excel no loger seems to work!
Links to Named Ranges (in casu only cells) in spreadsheets the new way:
.. In Spreadsheet: [Ctrl-C] in cell
.. In Word:
[Ctrl+Alt+V] (Paste Special)
[Alt+L] (Paste Link)
[Alt-A] (As)
[U] (Unformatted Unicode Text)
Creates this field in Word-document:
{ LINK Excel.Sheet.8 "\\\\Server\\documents\\TEMP\\Book1.xlsx"
"Sheet2!Test2Name" \a \t \u }
Alt-F9 displays the content of the cell:
Test2
Which seem to work OK (a lot of new limitations though: It looks in
Office2007B2TR like the spreadsheet name must not contain space or special
characters and the Name of the range must no contain space .)
But after saving, closing and reopening the Word document IT DOES NOT WORK
ANYMORE.
When Word tries to update the link to the named range, it creates this
rather disappointing messagebox:
Word is unable to create a link to the object you specified.
Please insert the object directly into your file without creating a link.
[OK]
(Dear MS, I chose Link for a reason!)
And instead of the content of the linked cell, Word displays:
Error! Not a valid link.
The field haven't changed. Alt-F9 displays the Field:
{ LINK Excel.Sheet.8 "\\\\Server\\documents\\TEMP\\Book1.xlsx"
"Sheet2!Test2Name" \a \t \u }
This is rather annoying as I'm using a lot of references to spreadsheets to
keep my documents up-to-date and consistent.
(I'm running Off2k7B2TR en-us on WinXPProfSP1 da-dk)
Anybody have any solutions or ideas?
--
Tanks in advance to anybody who care to answer
Erik Bo>>
--
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*