Plan De Cuentas Contables Venezuela Excel Vba May 2026
If you don’t have the list yet:
Llevar la contabilidad en Venezuela presenta desafíos únicos. Entre la hiperinflación (Normativa del BCV), los requisitos del SENIAT, las declaraciones de ISLR, Retenciones de IVA (76-3) y el cálculo del ajuste por inflación fiscal, la estructura base de todo el sistema sigue siendo la misma: el Plan de Cuentas Contable (PCGA).
Pero, ¿por qué seguir usando un listado estático en papel o un Excel plano cuando podemos potenciarlo con VBA (Visual Basic for Applications)?
En este artículo, no solo revisaremos la estructura típica del plan de cuentas para empresas venezolanas, sino que construiremos paso a paso una herramienta dinámica en Excel con macros para gestionar, validar y exportar cuentas contables de forma masiva.
¿El objetivo? Pasar de 1 hora manejando cuentas a 5 minutos. plan de cuentas contables venezuela excel vba
Sub CrearListaCuentas() Dim wsPlan As Worksheet, wsEntradas As Worksheet Dim ultFila As Long Set wsPlan = Sheets("PlanCuentas") Set wsEntradas = Sheets("Asientos")ultFila = wsPlan.Cells(Rows.Count, 1).End(xlUp).Row With wsEntradas.Range("A2:A1000").Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, _ Formula1:="=" & wsPlan.Range("A2:A" & ultFila).Address(, , , True) End With
End Sub
Sub RegistrarAsiento() Dim codigoDebito As String, codigoCredito As String Dim monto As DoublecodigoDebito = Range("E2").Value codigoCredito = Range("F2").Value monto = Range("G2").Value If ValidarCuenta(codigoDebito) And ValidarCuenta(codigoCredito) Then Sheets("Transacciones").Cells(Sheets("Transacciones").Rows.Count, 1).End(xlUp).Offset(1, 0).Value = _ Array(Date, "C-001", codigoDebito, monto, 0, "Asiento VBA") Sheets("Transacciones").Cells(Sheets("Transacciones").Rows.Count, 1).End(xlUp).Offset(1, 0).Value = _ Array(Date, "C-001", codigoCredito, 0, monto, "Asiento VBA") MsgBox "Asiento registrado correctamente" Else MsgBox "Error: Cuenta no válida" End If
End Sub
Developing a robust accounting plan (plan de cuentas) in Excel using VBA involves aligning technical automation with the specific legal and professional standards required by the
Federación de Colegios de Contadores Públicos de Venezuela (FCCPV) 1. Conceptual Framework: VEN-NIF Standards In Venezuela, the plan of accounts must adhere to
(Principios de Contabilidad Generalmente Aceptados en Venezuela). For most small to medium enterprises, this means following the VEN-NIF PYME framework.
: Organize accounts into a hierarchical numerical system (levels: 1. Assets, 2. Liabilities, 3. Equity, 4. Revenue, 5. Expenses). Legal Compliance If you don’t have the list yet: Llevar
: The system must support the generation of mandatory books required by the Venezuelan Commercial Code: Libro Diario Libro Mayor (General Ledger), and Libro de Inventarios y Balances 2. Building the Excel Core Your spreadsheet should serve as the database.
Here’s a comprehensive text that addresses the “Plan de Cuentas Contable de Venezuela” (Venezuelan Chart of Accounts), specifically focusing on its implementation, structuring, and automation using Excel VBA.
| Requirement | VBA Solution |
|-------------|---------------|
| IVA withholding accounts (Retenciones IVA) | Auto-add accounts 2.1.4.01 and validate against SENIAT rates table. |
| ISLR withholding | Create complementary accounts for 2.1.5.xx and link to transaction limits. |
| Inflation adjustment (Venezuela hyperinflationary economy) | VBA macro to restate balances using INE index (Banco Central de Venezuela). |
| Comprobante de Diario numbering | Auto-increment voucher number per month. |
| Account blocking | Add a “Status” column and VBA to prevent posting to inactive accounts. |