Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Código Visual Basic para Facturas avanzadas

Código Visual Basic para Facturas avanzadas

Ratings: (0)|Views: 5 |Likes:

More info:

Published by: Ismael Sañudo Lagoaceiro on Dec 07, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Hoja6 - 1 Private Sub Label1_Click()If Range("E3") = "A" ThenGeneralbaranElseGenerafactinmediataEnd IfEnd SubPrivate Sub Label2_Click()UserForm5.ShowEnd SubPrivate Sub ToggleButton1_Click()If ToggleButton1.Value = True ThenRange("B2").FormulaR1C1 = "Factura"Range("D3").FormulaR1C1 = "Nº Factura"Range("E26").FormulaR1C1 = "Suma Factura"Rows("27:28").EntireRow.Hidden = FalseLabel1.Caption = "GENERAR FACTURA"Label1.Picture = LoadPicture("C:\Users\Miguel\Pictures\Botones\Azul.jpg")ElseRange("B2").FormulaR1C1 = ("Albarán")Range("D3").FormulaR1C1 = ("Nº Albarán")Range("E26").FormulaR1C1 = ("Suma Albarán")Rows("27:28").EntireRow.Hidden = TrueLabel1.Caption = "GENERAR ALBARAN"Label1.Picture = LoadPicture("C:\Users\Miguel\Pictures\Botones\Marino.gif") End IfEnd SubPrivate Sub Worksheet_SelectionChange(ByVal Target As Range)ScrollArea = "A5:G30"End Sub
UserForm1 - 1 Private Sub CommandButton1_Click()IMPRIMIRUserForm1.HideEnd SubPrivate Sub CommandButton2_Click()UserForm1.HideEnd SubPrivate Sub UserForm_Activate() If Range("B2") = "Albarán" ThenLabel1.Caption = "¿QUIERE IMPRIMIR EL ALBARAN?"ElseLabel1.Caption = "¿QUIERE IMPRIMIR LA FACTURA?"End IfEnd SubPrivate Sub UserForm_Click()End Sub
UserForm2 - 1 Private Sub ComboBox1_Change()End SubPrivate Sub CommandButton1_Click()FACTURAYAEnd SubPrivate Sub Label1_Click()End SubPrivate Sub Label2_Click()facturatodosEnd Sub

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->