View Single Post
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Batch-Insert for Master Doc -- code not working

I'm using this line

Set Source = Documents.Open "C:\Documents and Settings\williamsmi\My
Documents\MASSA\PRESS\KIT\" & Format(i, "00") & ".doc"

and getting a Compile error, Expected: End of Statement, with the path
highighted.

Is it also on two lines in your code module, exactly as I see it in your
message? If you put it on one line, that should help?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)