Hello Excel World
Thanks in advance for your support.
Before I explain my problem. It may make sense to show how the macro is working on the current workbook for my coping. Once this is done. If you are comfortable, the files would have to download to know if it could be done.
I have two workbooks that work together:
# 1 Unemployment rate and
# 2 GDP_Annual_Growth_Rate_%
Now. Macros are created in the Unemployment_Rate workbook for the following:
# 1 To copy data that has the same worksheet name from the GDP_Annual_Growth_Rate_% workbook and paste it into column "f" of the Unemployment_Rate workbook. Please see the picture below.
Next. The macro is also created for a comparison charts. Compare the Unemployment_Rate workbook with the GDP_Annual_Growth_Rate_% workbook in the chart. The data is in columns "B", "E" and "F".
Next. On column "K". We have the header on cell "K1": Number of years in the X axis.
And on "k2" is a fixed number "10" which represents 10 years of graph data in the future.
And on "K3" there is a patch number "-10" which represents 10 years of graphics data in the past.
Next. the left and right arrows are used to go back to the past or forward to the future years "10" and "-10"
Here are the two workbooks that work together:
#1 Unemployment rate : Unemployment_Rate.xlsm
#2 GDP_Annual_Growth_Rate_%: GDP_Annual_Growth_Rate_% (1).xlsm
My problem is: how can I copy macro from Unemployment_Rate workbook, adjust the macro and paste it into another workbook (PMI workbook), that also works with GDP_Annual_Growth_Rate_% workbook.
Here are the new and partially completed workbook:
#1 PMI: PMI.xlsm
Can someone help me and explain my errors on how I am not getting it done the right way? I really appreciate the support.
Thank you in advance
Cheers
Thanks in advance for your support.
Before I explain my problem. It may make sense to show how the macro is working on the current workbook for my coping. Once this is done. If you are comfortable, the files would have to download to know if it could be done.
I have two workbooks that work together:
# 1 Unemployment rate and
# 2 GDP_Annual_Growth_Rate_%
Now. Macros are created in the Unemployment_Rate workbook for the following:
# 1 To copy data that has the same worksheet name from the GDP_Annual_Growth_Rate_% workbook and paste it into column "f" of the Unemployment_Rate workbook. Please see the picture below.
Next. The macro is also created for a comparison charts. Compare the Unemployment_Rate workbook with the GDP_Annual_Growth_Rate_% workbook in the chart. The data is in columns "B", "E" and "F".
Next. On column "K". We have the header on cell "K1": Number of years in the X axis.
And on "k2" is a fixed number "10" which represents 10 years of graph data in the future.
And on "K3" there is a patch number "-10" which represents 10 years of graphics data in the past.
Next. the left and right arrows are used to go back to the past or forward to the future years "10" and "-10"
Here are the two workbooks that work together:
#1 Unemployment rate : Unemployment_Rate.xlsm
#2 GDP_Annual_Growth_Rate_%: GDP_Annual_Growth_Rate_% (1).xlsm
My problem is: how can I copy macro from Unemployment_Rate workbook, adjust the macro and paste it into another workbook (PMI workbook), that also works with GDP_Annual_Growth_Rate_% workbook.
Here are the new and partially completed workbook:
#1 PMI: PMI.xlsm
Can someone help me and explain my errors on how I am not getting it done the right way? I really appreciate the support.
Thank you in advance
Cheers