V
Vince Woodley
If the Mail Merge Recipients dialogue box is used to apply
a filter to the records of a simple Excel spreadsheet when
the document is saved, closed, and later reopened it
claims that the data source cannot be found.
The symptoms are identical to that described in
http://support.microsoft.com/default.aspx?scid=kb;en-
us;275934
only the cause and the workaround don't apply.
To demonstrate the bug create c:\simple.xls data source
with:
name number
a 1
b 1
c 1
d 2
e 2
f 3
g 4
Create a mail merge document using it *without* a fliter.
Save, open & close all you want and it will find the data
source.
Now use the Mail Merge Recipients dialogue box to apply a
filter (e.g. number = 1). Save, close & reopen and you'll
get the error.
A comparison of the "recovered text" on the two files
shows the only difference is:
filter.doc
XSELECT * FROM `Sheet1$` WHERE `number` = 1
XSELECT * FROM `Sheet1$` WHERE `number` = 1
&
non-filter.doc
2SELECT * FROM `Sheet1$`
2SELECT * FROM `Sheet1$`
*BOTH* files still contain the correct full path
c:\simple.xls! My suspicion is that word is attempting to
run the filter before it opens the data source and so hits
the error.
Any thoughts - or better still work arounds?
Regards
Vince Woodley
a filter to the records of a simple Excel spreadsheet when
the document is saved, closed, and later reopened it
claims that the data source cannot be found.
The symptoms are identical to that described in
http://support.microsoft.com/default.aspx?scid=kb;en-
us;275934
only the cause and the workaround don't apply.
To demonstrate the bug create c:\simple.xls data source
with:
name number
a 1
b 1
c 1
d 2
e 2
f 3
g 4
Create a mail merge document using it *without* a fliter.
Save, open & close all you want and it will find the data
source.
Now use the Mail Merge Recipients dialogue box to apply a
filter (e.g. number = 1). Save, close & reopen and you'll
get the error.
A comparison of the "recovered text" on the two files
shows the only difference is:
filter.doc
XSELECT * FROM `Sheet1$` WHERE `number` = 1
XSELECT * FROM `Sheet1$` WHERE `number` = 1
&
non-filter.doc
2SELECT * FROM `Sheet1$`
2SELECT * FROM `Sheet1$`
*BOTH* files still contain the correct full path
c:\simple.xls! My suspicion is that word is attempting to
run the filter before it opens the data source and so hits
the error.
Any thoughts - or better still work arounds?
Regards
Vince Woodley