Usually, i would use a hotdog analogy when asking questions here so people could understand my problem more, but in this case it seems i have no choice but to ask my actual question.
So the content of cell A1 is "SEZC100F3020"
the content of cell B1 is "220"
the content cell c1 and d1 are irrelevant, i just put it here so the activecell.offset numbers later would make sense.
cell E1 is the description column.
My plan would be is the user will put the active cell in B1, which contains the 220. Just for FYI, this is the voltage column, and the code "SEZC100F3020" is a model of a circuit breaker that has many different voltages (220, 110, and 380). So if the user puts the active cell in the voltage column, he then runs a macro that will do a vlookup on the code SEZC100F3020, the table array of the lookup would be another excel file (pricelist file) that will contain the necessary data of the voltage value in the activecell. The value of the vlookup will be stored using variable "Answer" and it will be added to the description column. so here is my code:
so what i want is that the answer will be included in the description. I know the vlookups are incorrect, but i wrote that to have an idea of what i want to call up.![]()
Please Login or Register to view this content.
Bookmarks