From: Vagabond on
I am using the Exportasfixedformat function to pdf a 43 page Word document.
However, I only want to pdf certain pages. I have created a macro that
produces the string used by cutepdf, ("1, 2, 5, 20, 25-30" for example), but
I am not sure if I can apply it, or something similar, to the
ExportAsFixedFormat function. The function does appear to have a parameter
to print only the 'selected' pages. How do I utilise this?

Can anyone help?
From: Pesach Shelnitz on
Hi,

With the Exportasfixedformat function, you can set the Range parameter equal
to wdExportCurrentPage if you want to export only the current page, to
wdExportFromTo if you want to export a range of pages, or to
wdExportSelection if you want to export the selected portion of your
document. If you set the Range parameter equal to wdExportFromTo, you need to
also set the From parameter equal to the first page that you want to export
and the To parameter equal to the last page that you want to export.

These parameters thus give you some possibilities to export a portion of a
document, but not the more complete freedom of choice that you would like.

--
Hope this helps,
Pesach Shelnitz
My Web site: http://makeofficework.com


"Vagabond" wrote:

> I am using the Exportasfixedformat function to pdf a 43 page Word document.
> However, I only want to pdf certain pages. I have created a macro that
> produces the string used by cutepdf, ("1, 2, 5, 20, 25-30" for example), but
> I am not sure if I can apply it, or something similar, to the
> ExportAsFixedFormat function. The function does appear to have a parameter
> to print only the 'selected' pages. How do I utilise this?
>
> Can anyone help?
From: Vagabond on
What flexibility do I have within the 'wdExportSelection' portion of the
function?

"Pesach Shelnitz" wrote:

> Hi,
>
> With the Exportasfixedformat function, you can set the Range parameter equal
> to wdExportCurrentPage if you want to export only the current page, to
> wdExportFromTo if you want to export a range of pages, or to
> wdExportSelection if you want to export the selected portion of your
> document. If you set the Range parameter equal to wdExportFromTo, you need to
> also set the From parameter equal to the first page that you want to export
> and the To parameter equal to the last page that you want to export.
>
> These parameters thus give you some possibilities to export a portion of a
> document, but not the more complete freedom of choice that you would like.
>
> --
> Hope this helps,
> Pesach Shelnitz
> My Web site: http://makeofficework.com
>
>
> "Vagabond" wrote:
>
> > I am using the Exportasfixedformat function to pdf a 43 page Word document.
> > However, I only want to pdf certain pages. I have created a macro that
> > produces the string used by cutepdf, ("1, 2, 5, 20, 25-30" for example), but
> > I am not sure if I can apply it, or something similar, to the
> > ExportAsFixedFormat function. The function does appear to have a parameter
> > to print only the 'selected' pages. How do I utilise this?
> >
> > Can anyone help?
From: Pesach Shelnitz on
Hi,

My understanding is that you can select any continuous portion of your
document.

--
Hope this helps,
Pesach Shelnitz
My Web site: http://makeofficework.com


"Vagabond" wrote:

> What flexibility do I have within the 'wdExportSelection' portion of the
> function?
>
> "Pesach Shelnitz" wrote:
>
> > Hi,
> >
> > With the Exportasfixedformat function, you can set the Range parameter equal
> > to wdExportCurrentPage if you want to export only the current page, to
> > wdExportFromTo if you want to export a range of pages, or to
> > wdExportSelection if you want to export the selected portion of your
> > document. If you set the Range parameter equal to wdExportFromTo, you need to
> > also set the From parameter equal to the first page that you want to export
> > and the To parameter equal to the last page that you want to export.
> >
> > These parameters thus give you some possibilities to export a portion of a
> > document, but not the more complete freedom of choice that you would like.
> >
> > --
> > Hope this helps,
> > Pesach Shelnitz
> > My Web site: http://makeofficework.com
> >
> >
> > "Vagabond" wrote:
> >
> > > I am using the Exportasfixedformat function to pdf a 43 page Word document.
> > > However, I only want to pdf certain pages. I have created a macro that
> > > produces the string used by cutepdf, ("1, 2, 5, 20, 25-30" for example), but
> > > I am not sure if I can apply it, or something similar, to the
> > > ExportAsFixedFormat function. The function does appear to have a parameter
> > > to print only the 'selected' pages. How do I utilise this?
> > >
> > > Can anyone help?
From: Vagabond on
So what is the best method of pdfing non-contiguous pages of a document?

Thanks for help so far.

V

"Pesach Shelnitz" wrote:

> Hi,
>
> My understanding is that you can select any continuous portion of your
> document.
>
> --
> Hope this helps,
> Pesach Shelnitz
> My Web site: http://makeofficework.com
>
>
> "Vagabond" wrote:
>
> > What flexibility do I have within the 'wdExportSelection' portion of the
> > function?
> >
> > "Pesach Shelnitz" wrote:
> >
> > > Hi,
> > >
> > > With the Exportasfixedformat function, you can set the Range parameter equal
> > > to wdExportCurrentPage if you want to export only the current page, to
> > > wdExportFromTo if you want to export a range of pages, or to
> > > wdExportSelection if you want to export the selected portion of your
> > > document. If you set the Range parameter equal to wdExportFromTo, you need to
> > > also set the From parameter equal to the first page that you want to export
> > > and the To parameter equal to the last page that you want to export.
> > >
> > > These parameters thus give you some possibilities to export a portion of a
> > > document, but not the more complete freedom of choice that you would like.
> > >
> > > --
> > > Hope this helps,
> > > Pesach Shelnitz
> > > My Web site: http://makeofficework.com
> > >
> > >
> > > "Vagabond" wrote:
> > >
> > > > I am using the Exportasfixedformat function to pdf a 43 page Word document.
> > > > However, I only want to pdf certain pages. I have created a macro that
> > > > produces the string used by cutepdf, ("1, 2, 5, 20, 25-30" for example), but
> > > > I am not sure if I can apply it, or something similar, to the
> > > > ExportAsFixedFormat function. The function does appear to have a parameter
> > > > to print only the 'selected' pages. How do I utilise this?
> > > >
> > > > Can anyone help?