OMS to Word problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OMS to Word problems

Dennis Deck
OMS to Word problems

I was trying to get OMS to save just some core output tables from various commands (Crosstabs, Means, and CTables) in a Word doc but could not see how to get around some limitations Here is sample code:

OMS /Select Tables

        /If Subtypes= [ 'Report' 'Crosstabulation' 'Custom Table' ]

       /Destination Format=Doc Outfile="C:\Temp\SPSSexample.doc" .

This selects the informative tables from the 3 commands but I also need to:

 a) suppress the title (eg, Custom Table, Crosstabs) - which is always copied over

 b) prevent a table from breaking into multiple parts  if the default column widths (which are pretty wide) are wider than the margins (a single table get broken into 3-4 tables in the output even though they could easily fit with smaller margins)

 c) pass text to Word and format with a Heading style (I can pass text with TITLE but there does not seem to be an easy way to apply a format)

 d) transpose a table output from MEANS  that that would be

Thanks for any suggestions!

Dennis Deck, PhD
RMC Research Corporation
111 SW Columbia Street, Suite 1200
Portland, Oregon 97201-5843
voice: 503-223-8248 x715
voice: 800-788-1887 x715
fax:  503-223-8399
[hidden email]