Hi,
In my workbook, I have a workheet named Download and another named Portfolio. On the Download worksheet, I can activate a webquery to download the latest prices for given stock. What I need is a VBA sub which will do the following:
Place the value contained in the last row of Download worksheet in column G, into the appropriate cell (row) in column K on the Portfolio worksheet. The appropriate row is determined by matching the value in M6 on the Download worksheet (stock symbol) to the row on the Portfolio worksheet containing the same symbol.
I'd like to place the code for this sub inside my Download() sub.
Can anyone in the Forum help with some VBA code to do this?
Thanks,
Art
In my workbook, I have a workheet named Download and another named Portfolio. On the Download worksheet, I can activate a webquery to download the latest prices for given stock. What I need is a VBA sub which will do the following:
Place the value contained in the last row of Download worksheet in column G, into the appropriate cell (row) in column K on the Portfolio worksheet. The appropriate row is determined by matching the value in M6 on the Download worksheet (stock symbol) to the row on the Portfolio worksheet containing the same symbol.
I'd like to place the code for this sub inside my Download() sub.
Can anyone in the Forum help with some VBA code to do this?
Thanks,
Art