Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Issues in Setting Word margins using Win32::OLE

by shantanu_bhadoria (Novice)
on May 28, 2008 at 12:41 UTC ( #688850=note: print w/ replies, xml ) Need Help??


in reply to Re: Issues in Setting Word margins using Win32::OLE
in thread Issues in Setting Word margins using Win32::OLE

Here is the funny twist with that solution. I am also setting papersize before i set margins and word allows the paper size to be set to invalid values. e.g. at initial margins of 7,2 initial paper size being 10 by 10 if i set the papersize to say 8 by 8 the word app would allow it. and then we are totally stuck cuz the app wouldn't hear of allowing either right or left margin to be set alone. the funny thing is it allows the VBA to set the margins but only if it is within a with and if both the margin value together make a valid pair.


Comment on Re^2: Issues in Setting Word margins using Win32::OLE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://688850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-08-20 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (125 votes), past polls