iLovePC
07-26-2013, 08:16 PM
Hello,
I am very new to VBA so I apologize in advance if my question is stupid. I have an excel sheet containing two columns of data. One column has the name of the item and the other column has the price of the item.
What I would like to write a VBA macro in Word that will search the excel file for a given item name and find the corresponding price and store it in a variable. Any simple way to do this using VBA. Thanks in advance.
I am very new to VBA so I apologize in advance if my question is stupid. I have an excel sheet containing two columns of data. One column has the name of the item and the other column has the price of the item.
What I would like to write a VBA macro in Word that will search the excel file for a given item name and find the corresponding price and store it in a variable. Any simple way to do this using VBA. Thanks in advance.