Shortened the post. Complete code in the attached excel file.
Need help with correcting the looping code so that Variable gets value from a cell of another sheet repeats after certain process.
What's working correct already:: For a Single run::
- Currently, works only on 1 input (saved in ParameterSheet of workbook)
- Downloads data from gfinance
- Modifies data in consumable format (also adjusting time values)
- Exporting as csv
- Importing into another application
(Here's the excel file for reference)
Modifying the macro to work in a loop on a list of symbols in SymbolSheet. This list and count of list-items can keep changing.
Below is the code i have tried unsuccessfully :
'Starting Symbol loop --- Will DO STUFF till there are symbols in Symbol sheet
kal = SymbolSheet.Range("A1048576").End(xlUp).Row
For io = 1 To kal
ticker = Cells(io, 1).Value ' fill ticker with cell value one by one
Symbolll = ticker & "-EQ"
'DO LOTS OF OTHER WORK
'Below code is coming from top where Ticker value is set
Next io`