ronanoc_11
07-21-2005, 01:01 PM
Hi,
I hope I'm using this forum correctly.
My questions are: Am I able to set the mail merge layout of a document to Avery A4/A5 using code. And if so, does anyone know the code.
I did this manually, recorded it as a macro, then stepped into the code hoping this particular statement would display. It didn't.
The background to this is that I have an asp page that generates a mail merge document populated with data from sql server. The only problem is that it displays 10 rows per page. I'm after seven which is the Avery A4/A5 setting. By getting the code in word, I might be able to adapt it to the vb script in the asp page. Maybe not but that's what I was hoping.
Any help would be greatly appreciated. Thank-you
I hope I'm using this forum correctly.
My questions are: Am I able to set the mail merge layout of a document to Avery A4/A5 using code. And if so, does anyone know the code.
I did this manually, recorded it as a macro, then stepped into the code hoping this particular statement would display. It didn't.
The background to this is that I have an asp page that generates a mail merge document populated with data from sql server. The only problem is that it displays 10 rows per page. I'm after seven which is the Avery A4/A5 setting. By getting the code in word, I might be able to adapt it to the vb script in the asp page. Maybe not but that's what I was hoping.
Any help would be greatly appreciated. Thank-you