Hi,
I'm new to this forum and am looking for a solution for my problem. Hope that someone can help.
Here is what I am trying to do:
I have 2 sheets in a workbook, namely "Funds History" and "Funds Data".
On the "Funds Data" sheet, I have created a "Connection" which get's external data from the web. The information downloaded looks like this in the "Funds Data" sheet.
Index Date Fund Fund Abbr NAV Chg Chg % 41067PEF 07-06-2012 PUBLIC EQUITY FUND PEF 0.2669 0.0004 0.15% 41068PIX 08-06-2012 PUBLIC INDEX FUND PIX 0.6857 -0.0020 -0.29% 41067PSF 07-06-2012 PUBLIC SAVINGS FUND PSF 0.5610 0.0019 0.34% 41068PRSF 08-06-2012 PUBLIC REGULAR SAVINGS FUND PRSF 0.6192 -0.0004 -0.06%
I am able to lookup the information I need based on the "Index" via VLOOKUP and can populate it into a specific column. No issue about that. What I want to achieve is to automatically populate it into a table based on the "Fund Abbr" and "Date" column. This is where I want it to be auto populated:
05/06/2012 06/06/2012 07/06/2012 08/06/2012 09/06/2012 PEF 0.2669 PRSF 0.6192 PSF 0.5610
I have created a macro that will refresh the "Connection" with the latest data from the internet. Now, I am looking for a way to write a macro that could pick the fund types based on the date and auto fill it into the relevant cells. Can anyone help me?
Thanks.
Bookmarks