+ Reply to Thread
Results 1 to 3 of 3

Run-time error "13" on intraday stock chart

  1. #1
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Question Run-time error "13" on intraday stock chart

    Hi

    I'v found this cool Intraday stock quote chart http://investexcel.net/free-intraday-stock-data-excel/
    When I run it (press the "Get Data from Google" button, I just get an Run-time error "13": Type mismatch.
    When I hit the Debug button, this line shows up in yellow:
    timeStamp = (Mid(timeStampRaw, 2, Len(timeStampRaw) - 1))

    Anyone know what could be the error for this?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Run-time error "13" on intraday stock chart

    It is because the URL is not working, ie meant to pick up a table, but you are getting a simple text. Look at sheet data.

    qurl = "http://finance.google.com/finance/getprices?" & _
    "q=" & ticker & _
    "&i=" & interval & _
    "&p=" & numPastTradingDays & "d" & _
    "&f=d,o,h,l,c,v"

  3. #3
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Run-time error "13" on intraday stock chart

    I don't understand anything, the spreadsheet works correctly on my laptop, but not on my desktop computer... why should there be any difference?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro doesn't correctly replace "." with "," and getting Run-time error '1004'.
    By H.Gabor in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-26-2018, 06:36 AM
  2. [SOLVED] Stock Chart "Set SourceRange Problem"
    By HerryMarkowitz in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-31-2013, 06:10 AM
  3. Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.
    By Jeronimo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2012, 06:42 PM
  4. [SOLVED] Excel Stock Chart - "Close marker" refers to incorrect data series
    By MartinShort in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 10-07-2012, 10:50 AM
  5. Replies: 30
    Last Post: 07-04-2012, 07:27 AM
  6. Line Chart (Stock Intraday Chart)
    By prabs in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-25-2007, 06:19 PM
  7. [SOLVED] Provide a "high/low" chart (stock chart) in horizontal mode
    By Horizontal high/low chart in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-28-2006, 08:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1