
02/04/2008, 11:33
|
| | Fecha de Ingreso: marzo-2008
Mensajes: 35
Antigüedad: 17 años Puntos: 0 | |
Re: Mediante V.B 6.0 introducir en el encabezado de un Word texto Bueno, me he confundido un poquito, el código más apropiado sería:
Documento.Selection.Sections(1).Headers(wdHeaderFo oterPrimary).Range.Text = "Prueba"
Y el de alinación de la cabecera sería:
Documento.Selection.Sections(1).Headers(wdHeaderFo oterPrimary).Range.ParagraphFormat.Alignment = XX
pudiendo ser XX:
- wdAlignParagraphLeft
- wdAlignParagraphRight
- wdAlignParagraphCenter
- y algún otro...
Mañana miro a ver qué tal te ha ido... |