I have a spreadsheet which I'm using it like a querying tool.
In one tab named, "properties", contains a large inventory of properties each with a unique property code identifier. I am pulling all this from an external database source.
In another tab named, "query", is where I type in whatever property codes in column B (starting with B6) and the rest of the fields will be auto-generated. I'm currently using the index & match function to accomplish this. Problem is, I need this for more rows and and to copy the equations to thousands of rows will be inefficient and slow.
The equation being used in cell C6 for example is below:
Its like this for the rest of the cells but with the appropriate references.
Someone recommended me to use the worksheet change event macro.
Problem is, I don't know how to convert my equation syntactically to VBA.
Can anyone help me out with this?
In one tab named, "properties", contains a large inventory of properties each with a unique property code identifier. I am pulling all this from an external database source.
In another tab named, "query", is where I type in whatever property codes in column B (starting with B6) and the rest of the fields will be auto-generated. I'm currently using the index & match function to accomplish this. Problem is, I need this for more rows and and to copy the equations to thousands of rows will be inefficient and slow.
The equation being used in cell C6 for example is below:
Code:
[B][FONT=Arial][SIZE=2][COLOR=#000000]
=IF(INDEX(Table_db.accdb[street],MATCH(B6,Table_db.accdb[property_code],0))="","",INDEX(Table_vBase_Connect.accdb[street],MATCH(B6,Table_vBase_Connect.accdb[property_code],0)))</pre>[/COLOR][/SIZE][/FONT][/B]
Someone recommended me to use the worksheet change event macro.
Problem is, I don't know how to convert my equation syntactically to VBA.
Can anyone help me out with this?