Ok, I'm Stumped. I built a dB that pulls data from Yahoo Finance API to compile a report. Built in Access 2010 and housed on out network. Everything was working like gravy. Well now, I have a dedicated computer, that this is going to run from. After setting it up, I am getting Runtime 5 with the "Shell" line highlighted in the code below:
Public Function RunYahooAPI()
Dim chromePath As String
chromePath = """C:\Program Files\Google\Chrome\Application\chrome.exe"""
Shell (chromePath & " -url http://download.finance.yahoo.com/d/quotes.csv?s=CVX%2CXOM%2CHP%2CSLB%2CPBA%2CATR%2CECL%2CNVZMY&f=nsl1op&e=.csv")
End Function
Things I have checked so far from searching online:
- Ran it as a Sub vs Function. No change
- Disabled my Anti-virus software. No change
- Checked references. All match the 2010
- Took out the spaces in the Shell. No change
- Added """ around the url. No change
- Also logged directly on the computer to try vs RC. No change
I really am at my wits end on this. Hoping a second set of eyes can set me straight.
I should probably also mention I am running this all through a remote connection.