Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / January 2004

Tip: Looking for answers? Try searching our database.

Word+Excel - merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lucka - 24 Jan 2004 19:49 GMT
Hi, help me, please,
I have workbook in Excel 2000 with 12 sheets with the same names of
fields (changes only dates) and I need to every sheet was merged with
diference file in the Word application. Thak you for your time and your
advice. Lucka
Andrew Crook - 26 Jan 2004 14:19 GMT
I believe you can use a excel file with a mail merge in the mail merge
setup. If you record a macro whilst setting up a merge you will be able to
find all
the vb code needed and you can then write a macro that can change the
worksheet .(see SQLStatement:=) in fact you will see a line similar to. I am
sure that you will also be able to find full reference online.

Connection:= _
       "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data
Source=C:\Book1.xls;Mode=Read;Extended Properties=""HDR=YES;IMEX=1;"";Jet
OLEDB:System database="""";Jet OLEDB:Registry Path="""";Jet OLEDB:Database
Passw" _
       , SQLStatement:="SELECT * FROM `Sheet1$`", SQLStatement1:="",
SubType:= _
       wdMergeSubTypeAccess

regards

Andrew

> Hi, help me, please,
> I have workbook in Excel 2000 with 12 sheets with the same names of
> fields (changes only dates) and I need to every sheet was merged with
> diference file in the Word application. Thak you for your time and your
> advice. Lucka
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.