Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Any Ideas?
Not at the moment, sorry... -- Peter Jamieson http://tips.pjmsn.me.uk "sfab" wrote in message ... Thanks for the sample! I'm getting closer since now I can Alt-Tab to switch to word. The fill-in is still behind the main application. Since this problem doesn't happen everywhere, I'm wondering if there is some application on the computer causing conflicts with pulling Word to the foreground, such as a pop-up fax program. Any Ideas? -- Stephen Summit Program Manager "Peter Jamieson" wrote: Try, some of the following e.g. oWrd.Visible = True oWrd.Activate oWrd.ActiveDocument.Activate With oWrd.ActiveDocument.MailMerge .Destination = wdSendToNewDocument .SuppressBlankLines = True With .DataSource .FirstRecord = wdDefaultFirstRecord .LastRecord = wdDefaultLastRecord End With .Execute Pause:=True oWrd.Activate -- Peter Jamieson http://tips.pjmsn.me.uk "sfab" wrote in message ... Give me an example of what you are talking about. I am automating Word from VB6. I am executing the mailmerge this way: 1464 With oWrd.ActiveDocument.MailMerge 1466 .Destination = wdSendToNewDocument 1468 .SuppressBlankLines = True 1470 With .DataSource 1472 .FirstRecord = wdDefaultFirstRecord 1474 .LastRecord = wdDefaultLastRecord 1476 End With 1478 .Execute Pause:=True With the Pause parameter set to True, Word comes to the foreground with the focus on the Fill-in. On some computers it does not. -- Stephen Summit Program Manager "Peter Jamieson" wrote: Have you tried Activating the application and the document window in your automation code? (If you don't you may also be seeing other problems such as missing toolbars etc.) -- Peter Jamieson http://tips.pjmsn.me.uk "sfab" wrote in message ... I'm automating a mail merge and the document has several fill-in fields. Some users report that the fill-in box is behind other windows and cannot be seen. Not all users have this problem. Any ideas on how to solve this problem? The version of Word is XP SP2 on Windows XP. -- Stephen Summit Program Manager |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert Windows XP Word documents to Windows Vista? | Microsoft Word Help | |||
Word 2007 (under Windows XP): cells unexptectedly fill with color... | Tables | |||
How do I open Windows 2007 Beta Word files in Windows XP? | Microsoft Word Help | |||
Problem: Mail Merge with Fill-ins asks for fill-in value for every label, not just once | Mailmerge | |||
cannot open word files in windows me by windows xp over network | Microsoft Word Help |