I am getting an overflow error everytime I try to use a variable. This is the code I have:
Dim xunits As Long
Dim xrevenue As Long
Dim xholdback As Long
Dim lcleaninvoice As Long
Dim lfinholdback As Long
ActiveSheet.Cells(gdpcarline, 8).Value = xunits ActiveSheet.Cells(gdpcarline, 9).Value = xrevenue
This is where I am getting the overflow error:
lcleaninvoice = xrevenue / xunits
Any help?
Dim xunits As Long
Dim xrevenue As Long
Dim xholdback As Long
Dim lcleaninvoice As Long
Dim lfinholdback As Long
ActiveSheet.Cells(gdpcarline, 8).Value = xunits ActiveSheet.Cells(gdpcarline, 9).Value = xrevenue
This is where I am getting the overflow error:
lcleaninvoice = xrevenue / xunits
Any help?