SlideShare una empresa de Scribd logo
1 de 9
Instituto Inmaculada
concepción
Alumna: Dariela Lagos
Maestro: Gerson Rodas
Curso: III B.T.C
En este primer macro ingresaras este código:
Sub macro1()
MsgBox "Bienvenidos"
End Sub
En el siguiente macro, mostraremos una combinación
de teclado, el cual la pc guardara para cambio que
agás agregando un código.
Sub Macro1()
'
' Macro1 Macro
'
'
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=8, NumColumns:= _
10, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Tabla con cuadrícula" Then
.Style = "Tabla con cuadrícula"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = False
.ApplyStyleFirstColumn = True
.ApplyStyleLastColumn = False
.ApplyStyleRowBands = True
.ApplyStyleColumnBands = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=10, Extend:=wdExtend
Selection.Tables(1).Style = "Cuadrícula clara - Énfasis 2"
Selection.Cells.Merge
Selection.TypeText Text:="registros 2015"
Selection.MoveLeft Unit:=wdCharacter, Count:=14, Extend:=wdExtend
Selection.SelectCell
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Selection.Cells.VerticalAlignment = wdCellAlignVerticalTop
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.MoveLeft Unit:=wdCharacter, Count:=4
Selection.TypeText Text:="campo 1"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.MoveUp Unit:=wdLine, Count:=1
Selection.TypeText Text:=" 2"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo 3"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo 4"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo 5"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo 6"
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeText Text:="campo 7"
End Sub
Macros en Word
Macros en Word

Más contenido relacionado

La actualidad más candente (20)

Switch case 2_(informe_15)
Switch case 2_(informe_15)Switch case 2_(informe_15)
Switch case 2_(informe_15)
 
Suarez manda
Suarez mandaSuarez manda
Suarez manda
 
Software nxt 2.0
Software nxt 2.0Software nxt 2.0
Software nxt 2.0
 
2- Empleado
2- Empleado 2- Empleado
2- Empleado
 
Macro en excel
Macro en excelMacro en excel
Macro en excel
 
Ntx 2
Ntx 2Ntx 2
Ntx 2
 
Daniel
DanielDaniel
Daniel
 
Macros en excel
Macros en excelMacros en excel
Macros en excel
 
Trabajo Software
Trabajo SoftwareTrabajo Software
Trabajo Software
 
62 65joel
62 65joel62 65joel
62 65joel
 
Taller excel normas APA
Taller excel normas APATaller excel normas APA
Taller excel normas APA
 
Taller macros luna perez
Taller macros luna perezTaller macros luna perez
Taller macros luna perez
 
Software
SoftwareSoftware
Software
 
Macros 2
Macros 2Macros 2
Macros 2
 
Un numero (informe_2244)
Un numero (informe_2244)Un numero (informe_2244)
Un numero (informe_2244)
 
Colegio nacional
Colegio nacionalColegio nacional
Colegio nacional
 
Taller de macro
Taller de macroTaller de macro
Taller de macro
 
Informe sobre exposicion
Informe sobre exposicionInforme sobre exposicion
Informe sobre exposicion
 
Programacion ejercicio unidimensional-convertido
Programacion ejercicio unidimensional-convertidoProgramacion ejercicio unidimensional-convertido
Programacion ejercicio unidimensional-convertido
 
Programacion Pseudocodigo
Programacion PseudocodigoProgramacion Pseudocodigo
Programacion Pseudocodigo
 

Destacado

Microsoft word - editing and formatting a question paper document
Microsoft word - editing and formatting a question paper documentMicrosoft word - editing and formatting a question paper document
Microsoft word - editing and formatting a question paper document
Yeshey Lhendup
 
Law of returns to scale
Law of returns to scaleLaw of returns to scale
Law of returns to scale
Namita Sharma
 
Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
Sha Tibnjn
 
Market structures – perfect competition
Market structures – perfect competitionMarket structures – perfect competition
Market structures – perfect competition
ishwarijoshi
 
The Business Cycle
The Business CycleThe Business Cycle
The Business Cycle
James Henry
 

Destacado (20)

Lotus notes mail merge create and run agent
Lotus notes mail merge   create and run agentLotus notes mail merge   create and run agent
Lotus notes mail merge create and run agent
 
Using tables in Microsoft Word
Using tables in Microsoft WordUsing tables in Microsoft Word
Using tables in Microsoft Word
 
Microsoft Office 2003 Creating Macros
Microsoft Office 2003 Creating MacrosMicrosoft Office 2003 Creating Macros
Microsoft Office 2003 Creating Macros
 
How to use pivot table
How to use pivot tableHow to use pivot table
How to use pivot table
 
Page Setup Ppt
Page Setup PptPage Setup Ppt
Page Setup Ppt
 
Monopoly
MonopolyMonopoly
Monopoly
 
Text formatting in ms word ppt
Text formatting in ms word pptText formatting in ms word ppt
Text formatting in ms word ppt
 
Microsoft word - editing and formatting a question paper document
Microsoft word - editing and formatting a question paper documentMicrosoft word - editing and formatting a question paper document
Microsoft word - editing and formatting a question paper document
 
Word 2007-Mail Merge 1- Use Mail Merge For Mass Mailings
Word 2007-Mail Merge 1- Use Mail Merge For Mass MailingsWord 2007-Mail Merge 1- Use Mail Merge For Mass Mailings
Word 2007-Mail Merge 1- Use Mail Merge For Mass Mailings
 
MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
 
Creating a PowerPoint Presentation
Creating a PowerPoint PresentationCreating a PowerPoint Presentation
Creating a PowerPoint Presentation
 
Law of returns to scale
Law of returns to scaleLaw of returns to scale
Law of returns to scale
 
Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
 
Mail Merge in Microsoft Word
Mail Merge in Microsoft WordMail Merge in Microsoft Word
Mail Merge in Microsoft Word
 
Mail merge
Mail mergeMail merge
Mail merge
 
Market structures – perfect competition
Market structures – perfect competitionMarket structures – perfect competition
Market structures – perfect competition
 
The Business Cycle
The Business CycleThe Business Cycle
The Business Cycle
 
Simple, Powerful & Effective Powerpoint Presentation Slide Design
Simple, Powerful & Effective Powerpoint Presentation Slide DesignSimple, Powerful & Effective Powerpoint Presentation Slide Design
Simple, Powerful & Effective Powerpoint Presentation Slide Design
 
Business cycle
Business cycleBusiness cycle
Business cycle
 
Slide Presentation Guidelines
Slide Presentation GuidelinesSlide Presentation Guidelines
Slide Presentation Guidelines
 

Similar a Macros en Word

Macros test de seleccion multiple
Macros    test de seleccion multipleMacros    test de seleccion multiple
Macros test de seleccion multiple
Daniela Arcila
 
Ejercicio access+visualb
Ejercicio access+visualbEjercicio access+visualb
Ejercicio access+visualb
valen
 

Similar a Macros en Word (20)

8.491.3152
8.491.31528.491.3152
8.491.3152
 
Creando macros en Excel 2010 para programdores
Creando macros en Excel 2010 para programdoresCreando macros en Excel 2010 para programdores
Creando macros en Excel 2010 para programdores
 
Creando macros
Creando macrosCreando macros
Creando macros
 
Word VBA
Word VBAWord VBA
Word VBA
 
My Sql A C#
My Sql A C#My Sql A C#
My Sql A C#
 
My Sql A C#
My Sql A C#My Sql A C#
My Sql A C#
 
Curso de excel avanzado tema 6 macros
Curso de excel avanzado tema 6 macrosCurso de excel avanzado tema 6 macros
Curso de excel avanzado tema 6 macros
 
Macros test de seleccion multiple
Macros    test de seleccion multipleMacros    test de seleccion multiple
Macros test de seleccion multiple
 
Taller tecnologia
Taller tecnologiaTaller tecnologia
Taller tecnologia
 
Guia de Laboratorios 2 - VB.NET 2005
Guia de Laboratorios 2 - VB.NET 2005Guia de Laboratorios 2 - VB.NET 2005
Guia de Laboratorios 2 - VB.NET 2005
 
Ejercicio access+visualb
Ejercicio access+visualbEjercicio access+visualb
Ejercicio access+visualb
 
Taller tecnologia
Taller tecnologiaTaller tecnologia
Taller tecnologia
 
Guia70
Guia70Guia70
Guia70
 
Guia1
Guia1Guia1
Guia1
 
Taller tecnologia 2018
Taller tecnologia 2018 Taller tecnologia 2018
Taller tecnologia 2018
 
word macro rueda
word macro ruedaword macro rueda
word macro rueda
 
TALLER MACRO RUEDA
TALLER MACRO RUEDATALLER MACRO RUEDA
TALLER MACRO RUEDA
 
Taller macro
Taller macroTaller macro
Taller macro
 
Taller tecnologia
Taller tecnologiaTaller tecnologia
Taller tecnologia
 
Taller tecnologia
Taller tecnologiaTaller tecnologia
Taller tecnologia
 

Último

Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdf
patriciaines1993
 
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
RigoTito
 
6°_GRADO_-_MAYO_06 para sexto grado de primaria
6°_GRADO_-_MAYO_06 para sexto grado de primaria6°_GRADO_-_MAYO_06 para sexto grado de primaria
6°_GRADO_-_MAYO_06 para sexto grado de primaria
Wilian24
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
EliaHernndez7
 
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docxTALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
NadiaMartnez11
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
jlorentemartos
 
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURAFORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
El Fortí
 

Último (20)

Análisis de los Factores Externos de la Organización.
Análisis de los Factores Externos de la Organización.Análisis de los Factores Externos de la Organización.
Análisis de los Factores Externos de la Organización.
 
SEPTIMO SEGUNDO PERIODO EMPRENDIMIENTO VS
SEPTIMO SEGUNDO PERIODO EMPRENDIMIENTO VSSEPTIMO SEGUNDO PERIODO EMPRENDIMIENTO VS
SEPTIMO SEGUNDO PERIODO EMPRENDIMIENTO VS
 
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.pptFUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
 
LA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptxLA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptx
 
Tema 11. Dinámica de la hidrosfera 2024
Tema 11.  Dinámica de la hidrosfera 2024Tema 11.  Dinámica de la hidrosfera 2024
Tema 11. Dinámica de la hidrosfera 2024
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
 
Supuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docxSupuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docx
 
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICABIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
 
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
 
Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdf
 
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
2 REGLAMENTO RM 0912-2024 DE MODALIDADES DE GRADUACIÓN_.pptx
 
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADOTIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
 
SESION DE PERSONAL SOCIAL. La convivencia en familia 22-04-24 -.doc
SESION DE PERSONAL SOCIAL.  La convivencia en familia 22-04-24  -.docSESION DE PERSONAL SOCIAL.  La convivencia en familia 22-04-24  -.doc
SESION DE PERSONAL SOCIAL. La convivencia en familia 22-04-24 -.doc
 
6°_GRADO_-_MAYO_06 para sexto grado de primaria
6°_GRADO_-_MAYO_06 para sexto grado de primaria6°_GRADO_-_MAYO_06 para sexto grado de primaria
6°_GRADO_-_MAYO_06 para sexto grado de primaria
 
Sesión de clase: Fe contra todo pronóstico
Sesión de clase: Fe contra todo pronósticoSesión de clase: Fe contra todo pronóstico
Sesión de clase: Fe contra todo pronóstico
 
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docxPLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
 
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docxTALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
TALLER DE DEMOCRACIA Y GOBIERNO ESCOLAR-COMPETENCIAS N°3.docx
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
 
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURAFORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
 

Macros en Word

  • 1. Instituto Inmaculada concepción Alumna: Dariela Lagos Maestro: Gerson Rodas Curso: III B.T.C
  • 2.
  • 3. En este primer macro ingresaras este código: Sub macro1() MsgBox "Bienvenidos" End Sub
  • 4.
  • 5. En el siguiente macro, mostraremos una combinación de teclado, el cual la pc guardara para cambio que agás agregando un código.
  • 6. Sub Macro1() ' ' Macro1 Macro ' ' ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=8, NumColumns:= _ 10, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _ wdAutoFitFixed With Selection.Tables(1) If .Style <> "Tabla con cuadrícula" Then .Style = "Tabla con cuadrícula" End If .ApplyStyleHeadingRows = True .ApplyStyleLastRow = False .ApplyStyleFirstColumn = True .ApplyStyleLastColumn = False .ApplyStyleRowBands = True .ApplyStyleColumnBands = False End With Selection.MoveRight Unit:=wdCharacter, Count:=10, Extend:=wdExtend Selection.Tables(1).Style = "Cuadrícula clara - Énfasis 2" Selection.Cells.Merge Selection.TypeText Text:="registros 2015"
  • 7. Selection.MoveLeft Unit:=wdCharacter, Count:=14, Extend:=wdExtend Selection.SelectCell Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter Selection.Cells.VerticalAlignment = wdCellAlignVerticalTop Selection.MoveDown Unit:=wdLine, Count:=1 Selection.MoveLeft Unit:=wdCharacter, Count:=4 Selection.TypeText Text:="campo 1" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.MoveUp Unit:=wdLine, Count:=1 Selection.TypeText Text:=" 2" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo 3" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo 4" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo 5" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo 6" Selection.MoveDown Unit:=wdLine, Count:=1 Selection.TypeText Text:="campo 7" End Sub