TAMAÑO DE LETRA EN WORD ...
Publicado por Jm (503 intervenciones) el 15/09/2004 10:29:06
Tengo el siguiente codigo ... pero me da error en el tamaño de letra (FontSize) ... ¿Como debe de ser el codigo?
loWd = CreateObject("Word.Application")
With loWd
.DisplayAlerts = .F.
.Visible = .T.
.Documents.Open("informe.doc")
.ActiveDocument.PageSetup.rightMargin=5.05
.ActiveDocument.PageSetup.LeftMargin=55.05
.ActiveDocument.PageSetup.PaperSize=7
.ActiveDocument.PageSetup.FontSize=7
endwith
Gracias
loWd = CreateObject("Word.Application")
With loWd
.DisplayAlerts = .F.
.Visible = .T.
.Documents.Open("informe.doc")
.ActiveDocument.PageSetup.rightMargin=5.05
.ActiveDocument.PageSetup.LeftMargin=55.05
.ActiveDocument.PageSetup.PaperSize=7
.ActiveDocument.PageSetup.FontSize=7
endwith
Gracias
Valora esta pregunta


0