Professional Documents
Culture Documents
Sub Grabar DAV&STEF
Sub Grabar DAV&STEF
'
'
'
Sheets("VENTAS").Select
Rows("7:7").Select
Selection.RowHeight = 15
Range("Tabla_ventas").Select
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.ColorIndex = xlAutomatic
.TintAndShade = 0
End With
Selection.Font.Bold = True
Selection.Font.Bold = False
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Range("Tabla_ventas[FECHA]").Select
Selection.NumberFormat = "m/d/yyyy"
Sheets("FACTURACION").Select
Range("F3").Select
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[CODIGO CLIENTE]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("F4").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[CODIGO FACTURA]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("F7").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[FECHA]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("Tabla_factura[CODIGO]").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[CODIGO PRODUCTO]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("Tabla_factura[PRODUCTO]").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[PRODUCTO]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("Tabla_factura[CANTIDAD]").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[CANTIDAD]").Select
:=False, Transpose:=False
Sheets("FACTURACION").Select
Range("Tabla_factura[PRECIO DE VENTA]").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[PRECIO DE VENTA]").Select
Sheets("FACTURACION").Select
Range("Total_factura").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("VENTAS").Select
Range("Tabla_ventas[TOTAL VENTA]").Select
Application.CutCopyMode = False
Sheets("VENTAS").Select
Range("Tabla_ventas[CODIGO FACTURA]").Select
TextToDisplay:="QUI - 43178"
Sheets("FACTURACION").Select
End Sub