Consulting

Results 1 to 7 of 7

Thread: Solved: Understanding what used in this file

  1. #1
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location

    Solved: Understanding what used in this file

    Hi All
    I am member of SMF Yahoo add in group there while surfing I got this file named as Get Yahoo Multiple History.xls
    In this file there is one strange concept i come to know that after downloading prices the moment u double click on scrip heading u get the prices to be plotted in the chart next sheet
    there that genius fellow used formula for series as
    =SERIES(,,'Get Yahoo Multiple History double click chart.xls'!GraphRange1,1)

    but strange thing is I am unable to locate range "GraphRange1", & how he update it runtime.
    the file i am uploading is without password so pl have a look & tell me what logic he has used & when & where he update this range.
    (not able to contact original author as found this file uploaded in files section of yahoo group SMF Addin )

    so pl help me & also download it to get Yahoo historical prices at your Excel sheet immediately
    Last edited by anandbohra; 11-20-2007 at 03:44 AM. Reason: forgotten to attach file
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It's a hidden range, referring to

    =OFFSET(Symbols!$A$3,0,Symbols!$F$1,COUNT(Symbols!$A:$A)+1,1)
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    Thanks for the reply XLD
    but where it is mentioned in the sheet coz I am unable to locate GraphRange1 in Name manager in Excel
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It is hidden as I said.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    hope I am not irritating you by asking this question again & again
    but will u pl explain me how u got this hidden range?

    if u r giving me the explanation logically ( as we generally do for dynamic range in charts) so how this fellow has done the same in excel where some one is using the range but not able to see it & also not able to alter it.

    I check programmatically there is no hidden sheet ( Sheet3 that is only visible = false & not visible = Xlveryhidden) so how come he can hide the range.

    as u said the range is hidden so can u pl explain me how to hide the range/name in excel
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It is the def8ined name thatis hidden not the sheet

    [vba]

    ThisWorkbook.Names.Add Name:="myName", RefersTo:="=OFFSET(Symbols!$A$3,0,Symbols!$F$1,COUNT(Symbols!$A:$A)+1,1)"
    ThisWorkbook.Names("myName").Visible = False
    [/vba]

    You can find them with a biy of simple VBA

    [vba]

    Dim nme As Name
    For Each nme In ThisWorkbook.Names
    If Not nme.Visible Then
    Debug.Print nme.Name
    End If
    Next nme
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    Fantastic Reply
    This hiding name is totally new to me.

    Thank u Very Much

    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

Posting Permissions

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