Professional Documents
Culture Documents
numero = Range("C3").Value
Sheets("Ventas").Select
Rows("9:9").Select
Dim i As Integer
For i = 1 To numero
Next i
Sheets("Facturacion").Select
Range("F6").Select
Selection.Copy
Sheets("Ventas").Select
Dim b As Integer
x = 9: y = 9 + numero
With Rng
.Select
End With
:=False, Transpose:=False
Sheets("Facturacion").Select
Range("F7").Select
Selection.Copy
Sheets("Ventas").Select
Range("G9").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Facturacion").Select
Range("D6").Select
Selection.Copy
Sheets("Ventas").Select
Range("F9").Select
:=False, Transpose:=False
Sheets("Facturacion").Select
Range("tabla_factura[Codigo]").Select
Selection.Copy
Sheets("Ventas").Select
Range("D9").Select
:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("Facturacion").Select
Range("F3").Select
Selection.Copy
Sheets("Ventas").Select
Range("E9").Select
:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("Facturacion").Select
Range("tabla_factura[Cantidad]").Select
Selection.Copy
Sheets("Ventas").Select
Range("J9").Select
:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("Facturacion").Select
Range("tabla_factura[DESCRIPCION]").Select
Selection.Copy
Sheets("Ventas").Select
Range("H9").Select
:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("Facturacion").Select
Range("B3:F22").Select
With Selection.Font
.Name = "Calibri"
.Size = 9
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.TintAndShade = 0
.ThemeFont = xlThemeFontMinor
End With
Range("B3:F22").Select
OpenAfterPublish:=True
Sheets("Ventas").Select
Range("C9").Select
Selection.Copy
Range("K7").Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Sub