First, to answer a question that you didn’t specifically ask: set up your own class and load the data. Seriously, you will thank me later.
OK, to your question. I start by limiting the volume as much as possible. This means that I pass variables between procedures. When all your variables have the most restrictive scope, you are faced with the least problems in the line.
( 1- , 1- 2- ), . ( ), , ( Private Dim). ( ), .
, : , ; , , ; ( , ), , . , , .
, . - . , , , .
, , . , , .
, : , . ,
ActiveCell.Value = Invoice.LocalSalesTaxAmount
,
ActiveCell.Value = aInvoice(35,2)
, , - , . , .