Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word LayoutMode doesn't work
Message
 
 
À
26/05/2008 08:56:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01319491
Message ID:
01319498
Vues:
19
Hi Geraldo,

This is probably irrelevant, but take a look at
Re: How can I specify my font for Excel PageSetup Thread #626485 Message #626544

I would guess something similar could be for Word.

Sorry, can not try it myself.

>Hi,
>
>
>In Word Application, in View Menu, the Normal option are selected.
>I need to change this selection to "Print Layout".
>
>But this instructions don't works.
>
>
>
>loWord = CreateObject("Word.Application")
>loWord.Documents.Add()
>loWord.Visible = .T.
>*loWord.Documents(1).PageSetup.LayoutMode = 0  && wdLayoutModeDefault
>loWord.Documents(1).PageSetup.LayoutMode = 1  && wdLayoutModeGrid
>*loWord.Documents(1).PageSetup.LayoutMode = 2  && wdLayoutModeLineGrid
>*loWord.Documents(1).PageSetup.LayoutMode = 3  && wdLayoutModeGenko
>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform