Hi I am working on a table with loads of lines so not able to do this in Excel – can you help me do this in a VBA module? (Total beginner but trying to learn!)
Table A consists of two fields – BU and Numbers
Table B consists of several lines of data coming in from various sources. The headers relate to all of the BU’s found in Table A, and Line 1 of the table should consist of the sum of the field “Numbers” for each BU. To explain
Example Table A – BU/Count
MAN/2
MAN/4
WOMAN/3
WOMAN/2
GIRL/2
would relate to Table B
MAN WOMAN GIRL
Line 1 6 5 2
Given that this is such a large table a module would need to loop through the entire table, find each BU and sum the total of the “Number” field – how’s it best to do this, given that I want to do it in a module and not in a query?
Much obliged!