Hi,
I have 2 tables, one is called Main table and the other one is called secondary table. Both tables have the following fields: 200701, 200702, 200703, 200704, 200801, 200802, 200803, 200804, 200901, 200902, 200903, 200904 and so on&. Both tables have always equal fields meaning if the Main table has data from 2007 up to 2011 then the secondary table will have the same fields too. The list always starts from 200701 and go up as shown above. So all what I need a VBA code that does the following calculation:
Take the field 200701 from the Main table and divide the same field in the Secondary table and so on. In other words, take every field from the Main table and divide to the corresponding fields in the Secondary table. Thank you so much for your help.
I have 2 tables, one is called Main table and the other one is called secondary table. Both tables have the following fields: 200701, 200702, 200703, 200704, 200801, 200802, 200803, 200804, 200901, 200902, 200903, 200904 and so on&. Both tables have always equal fields meaning if the Main table has data from 2007 up to 2011 then the secondary table will have the same fields too. The list always starts from 200701 and go up as shown above. So all what I need a VBA code that does the following calculation:
Take the field 200701 from the Main table and divide the same field in the Secondary table and so on. In other words, take every field from the Main table and divide to the corresponding fields in the Secondary table. Thank you so much for your help.