JohnSawers
New Member
- Joined
- Dec 14, 2012
- Messages
- 4
I have a series of macros (MySQL selections) to pull data into and out of a workbook when I select a stock ticker from a drop down menu. On an individual basis this works fine. I am trying to automate this with a loop macro, but without success. In my current code below, I am trying to loop thru a list of stock ticker symbols (from column "A2"), then assign the next value in that list to the named cell called "stock_ticker". The stock identifier in this named cell ""stock_ticker" is used by the "MySQL_Get_data1-8" macros to identify the correct stock information to download, so the loop ought then to process a new stock as it runs down the list until the end. So much for theory however!
HTML:
the macro appears to run some of the macros but does not loop thru the different stock_tickers in the list. I have tried putting below the code above the "Do until .. line, but still with no success:
HTML:
|
<tbody>
</tbody>