Sjon1974
New Member
- Joined
- Apr 1, 2020
- Messages
- 38
- Office Version
- 365
- Platform
- Windows
All,
I have a code that writes to a certain worksheet that we use for data analyzing in click. But now we want to see it as a simple worksheet per customer.
Now my VBA scripting is basic, how can i change the following code from writing in rows to columns.
I have a code that writes to a certain worksheet that we use for data analyzing in click. But now we want to see it as a simple worksheet per customer.
Now my VBA scripting is basic, how can i change the following code from writing in rows to columns.
VBA Code:
Set wsAE = Worksheets("Sheet5")
If MsgBox("Entrada correcta?", vbYesNo + vbQuestion, "Verificar los datos!") = vbNo Then Exit Sub
iRow = wsAE.Cells.Find(What:="*", SearchOrder:=xlRows, SearchDirection:=xlPrevious, LookIn:=xlValues).Row + 1
wsAE.Cells(iRow, 1).Resize(, 19).Value = Array(CMBCLIENT.Value, CMBPRESTADORA.Value, CMBDESPERSIONES.Value, CMBCONCEPTO.Value, CMBCOMISON.Value, cmbcosto.Value, CMBTIPO.Value, _
CMBEMPRESA.Value, CMBIVA.Value, TXTIMPORTE.Value, TXTFECHA.Value, TXTSUMCOM.Value, TXTSUBTOTAL.Value, TXTSUMIVA.Value, TXTSUMFACT.Value, TXTPAGOCLIENTE.Value, TXTREMANTE