A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

External table is not in the expected format



 
 
Thread Tools Display Modes
  #1  
Old August 5th, 2008, 07:18 PM posted to microsoft.public.word.mailmerge.fields
GHawkins[_2_]
external usenet poster
 
Posts: 21
Default External table is not in the expected format

I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007 file
format. My Excel file is password protected so that only I can update it.
However, when I try to do a Mailmerge with the Excel file, I receive the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel file and
keep it open while I do a Mailmerge, it works fine. If I save it as a 2003
file format, I get a few error messages, but it still lets me open the Excel
file to use in my merge. This process worked just fine in 2003, did something
change in 2007?
  #2  
Old August 5th, 2008, 08:32 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default External table is not in the expected format

Based on your experience, it would appear that something has changed. Would
setting the read only attribute of the file provide you with sufficient
protection against the data being (permanently changed)?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"GHawkins" wrote in message
...
I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007
file
format. My Excel file is password protected so that only I can update it.
However, when I try to do a Mailmerge with the Excel file, I receive the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel file
and
keep it open while I do a Mailmerge, it works fine. If I save it as a 2003
file format, I get a few error messages, but it still lets me open the
Excel
file to use in my merge. This process worked just fine in 2003, did
something
change in 2007?



  #3  
Old August 5th, 2008, 08:42 PM posted to microsoft.public.word.mailmerge.fields
GHawkins[_2_]
external usenet poster
 
Posts: 21
Default External table is not in the expected format

I assume you mean by doing a right-click, Properties and checking Read-Only?
Not for these files - they are stored on a network share so others can get to
them. Those other users also have read/write to the folder, so wouldn't they
be able to go in to change that attribute?

"Doug Robbins - Word MVP" wrote:

Based on your experience, it would appear that something has changed. Would
setting the read only attribute of the file provide you with sufficient
protection against the data being (permanently changed)?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"GHawkins" wrote in message
...
I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007
file
format. My Excel file is password protected so that only I can update it.
However, when I try to do a Mailmerge with the Excel file, I receive the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel file
and
keep it open while I do a Mailmerge, it works fine. If I save it as a 2003
file format, I get a few error messages, but it still lets me open the
Excel
file to use in my merge. This process worked just fine in 2003, did
something
change in 2007?




  #4  
Old August 6th, 2008, 12:04 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default External table is not in the expected format

Yes, but why would they want to?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"GHawkins" wrote in message
...
I assume you mean by doing a right-click, Properties and checking
Read-Only?
Not for these files - they are stored on a network share so others can get
to
them. Those other users also have read/write to the folder, so wouldn't
they
be able to go in to change that attribute?

"Doug Robbins - Word MVP" wrote:

Based on your experience, it would appear that something has changed.
Would
setting the read only attribute of the file provide you with sufficient
protection against the data being (permanently changed)?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"GHawkins" wrote in message
...
I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007
file
format. My Excel file is password protected so that only I can update
it.
However, when I try to do a Mailmerge with the Excel file, I receive
the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel
file
and
keep it open while I do a Mailmerge, it works fine. If I save it as a
2003
file format, I get a few error messages, but it still lets me open the
Excel
file to use in my merge. This process worked just fine in 2003, did
something
change in 2007?






  #5  
Old August 6th, 2008, 08:31 AM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default External table is not in the expected format

In Word 2003, are you using the DDE connection method to connect - i.e.
where Excel will ask you for the password? As far as I know, that's the only
way you /can/ open a password-proteced Excel workbook as a mailmerge source,
and if so, you will need to do the same thing in 2007 (you have to go to
Word Office button-Word Options-Advanced-General and check "Confirm file
format conversion on open", then cgo through the connection process again
and select DDE when offered. And I have to say that in my experience there
are more problems in 2007, e.g. DDE will not even provide the full 255
columns that were possible in an Excel 2003 sheet.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"GHawkins" wrote in message
...
I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007
file
format. My Excel file is password protected so that only I can update it.
However, when I try to do a Mailmerge with the Excel file, I receive the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel file
and
keep it open while I do a Mailmerge, it works fine. If I save it as a 2003
file format, I get a few error messages, but it still lets me open the
Excel
file to use in my merge. This process worked just fine in 2003, did
something
change in 2007?


  #6  
Old August 6th, 2008, 01:52 PM posted to microsoft.public.word.mailmerge.fields
GHawkins[_2_]
external usenet poster
 
Posts: 21
Default External table is not in the expected format

Perfect! That's exactly what I was looking for. I forgot about that setting,
thank you so much!!

"Peter Jamieson" wrote:

In Word 2003, are you using the DDE connection method to connect - i.e.
where Excel will ask you for the password? As far as I know, that's the only
way you /can/ open a password-proteced Excel workbook as a mailmerge source,
and if so, you will need to do the same thing in 2007 (you have to go to
Word Office button-Word Options-Advanced-General and check "Confirm file
format conversion on open", then cgo through the connection process again
and select DDE when offered. And I have to say that in my experience there
are more problems in 2007, e.g. DDE will not even provide the full 255
columns that were possible in an Excel 2003 sheet.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"GHawkins" wrote in message
...
I'm doing a Mailmerge with Word 2007 and Excel 2007 using the new 2007
file
format. My Excel file is password protected so that only I can update it.
However, when I try to do a Mailmerge with the Excel file, I receive the
following error:

External table is not in the expected format.

If I take off the password, it works just fine. If I open the Excel file
and
keep it open while I do a Mailmerge, it works fine. If I save it as a 2003
file format, I get a few error messages, but it still lets me open the
Excel
file to use in my merge. This process worked just fine in 2003, did
something
change in 2007?



  #7  
Old November 13th, 2008, 07:38 AM posted to microsoft.public.word.mailmerge.fields
vijay bandi
external usenet poster
 
Posts: 1
Default XL 2007 connection string

string strConn =
@"Data Source=D:\Test2.xlsx;Provider=Microsoft.ACE.OLEDB. 12.0; Extended Properties=Excel 12.0;";
  #8  
Old November 13th, 2008, 09:40 AM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default XL 2007 connection string

Are you asking a question? If so, what is it?

--
Peter Jamieson
http://tips.pjmsn.me.uk

"vijay bandi" wrote in message
...
string strConn =
@"Data
Source=D:\Test2.xlsx;Provider=Microsoft.ACE.OLEDB. 12.0; Extended
Properties=Excel 12.0;";


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.