Excel vba - Unable to create a new xlStockOHLC chart to new worksheet.

ericcsc

New Member
Joined
Mar 18, 2013
Messages
17
Sorry I’m new to vba and need help about creating VBA code for xlStockOHLC chart to new worksheet.

I have a ticker worksheet (Symbol) with a list symbol on column A (eg, A7,A8, A9 and so on), the existing code will select from A7 symbol (eg, Appl) and download historical data (column A,B,C,D,E,F respectively to Date, Open, Hi, Low, Close, Volume) into new worksheet and name after the symbol (eg. Appl). Follow by the new chart creation code should able to add new chart (into GG120) to this new worksheet. The existing code will loop until all symbols (+ chart creation) complete.

However I’m not able to create new chart, label, nor adding series after the new symbol worksheet created with all my historical data downloaded successfully, can anyone help on the code to add xlStockOHLC chart into this new worksheet?

Thank you.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,216,591
Messages
6,131,629
Members
449,658
Latest member
JasonEncon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top