Rabu, 22 April 2015

[smf_addin] Digest Number 3388

6 Messages

Digest #3388

Messages

Tue Apr 21, 2015 4:19 am (PDT) . Posted by:

lezm001

Thanks for the quick response. This worked perfectly.

Tue Apr 21, 2015 8:58 am (PDT) . Posted by:

ridgebacksexcel

Yes the last formula did the trick. I failed to notice the Table data link so that makes it a lot easier to find.


Thanks.

Tue Apr 21, 2015 1:23 pm (PDT) . Posted by:

"Ron Spruell" hashky

Randy -
I am also have this problem with CEFs.  I found the Webpage that has the data, but I don't understand how to grab the information.
Here is the formulas that you game me months ago. 
=smfStrExtr(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"r_star",10),"r_star","'")
=IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"bronze",6)="bronze", "Bronze",IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"silver",6)="silver","Silver",IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"gold",6)="gold","Gold","--")))
If I type in "http://cef.morningstar.com/quote?t=BLEI get redirected to"http://www.morningstar.com/cefs/XASE/UTG/quote.html"
If I look at the source, on line 1618, I find . . .,"starRating":4,. . .
I cannot find the word "Bronze".
Please help.

Tue Apr 21, 2015 2:10 pm (PDT) . Posted by:

"Ron Spruell" hashky

Never mind.  I found your 4/16 note."=smfConvertData(smfStrExtr(RCHGetWebData("http://financials.morningstar.com/company-profile/c.action?t="&B2,"r_star"),"r_star","'"))"which works.
I still don't know where to get the gold, silver, and bronze rating..

From: "Ron Spruell hashky@yahoo.com [smf_addin]" <smf_addin@yahoogroups.com>
To: Smf_addin <smf_addin@yahoogroups.com>
Sent: Tuesday, April 21, 2015 3:22 PM
Subject: [smf_addin] CEF Morningstar gold, silver, bronze ratings

  Randy -
I am also have this problem with CEFs.  I found the Webpage that has the data, but I don't understand how to grab the information.
Here is the formulas that you game me months ago. 
=smfStrExtr(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"r_star",10),"r_star","'")
=IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"bronze",6)="bronze", "Bronze",IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"silver",6)="silver","Silver",IF(RCHGetWebData("http://cef.morningstar.com/quote?t="&$B6,"gold",6)="gold","Gold","--")))
If I type in "http://cef.morningstar.com/quote?t=BLEI get redirected to"http://www.morningstar.com/cefs/XASE/UTG/quote.html"
If I look at the source, on line 1618, I find . . .,"starRating&quot;:4,. . .
I cannot find the word "Bronze".
Please help.

#yiv8332859241 #yiv8332859241 -- #yiv8332859241ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8332859241 #yiv8332859241ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8332859241 #yiv8332859241ygrp-mkp #yiv8332859241hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8332859241 #yiv8332859241ygrp-mkp #yiv8332859241ads {margin-bottom:10px;}#yiv8332859241 #yiv8332859241ygrp-mkp .yiv8332859241ad {padding:0 0;}#yiv8332859241 #yiv8332859241ygrp-mkp .yiv8332859241ad p {margin:0;}#yiv8332859241 #yiv8332859241ygrp-mkp .yiv8332859241ad a {color:#0000ff;text-decoration:none;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ygrp-lc {font-family:Arial;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ygrp-lc #yiv8332859241hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ygrp-lc .yiv8332859241ad {margin-bottom:10px;padding:0 0;}#yiv8332859241 #yiv8332859241actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8332859241 #yiv8332859241activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8332859241 #yiv8332859241activity span {font-weight:700;}#yiv8332859241 #yiv8332859241activity span:first-child {text-transform:uppercase;}#yiv8332859241 #yiv8332859241activity span a {color:#5085b6;text-decoration:none;}#yiv8332859241 #yiv8332859241activity span span {color:#ff7900;}#yiv8332859241 #yiv8332859241activity span .yiv8332859241underline {text-decoration:underline;}#yiv8332859241 .yiv8332859241attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8332859241 .yiv8332859241attach div a {text-decoration:none;}#yiv8332859241 .yiv8332859241attach img {border:none;padding-right:5px;}#yiv8332859241 .yiv8332859241attach label {display:block;margin-bottom:5px;}#yiv8332859241 .yiv8332859241attach label a {text-decoration:none;}#yiv8332859241 blockquote {margin:0 0 0 4px;}#yiv8332859241 .yiv8332859241bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8332859241 .yiv8332859241bold a {text-decoration:none;}#yiv8332859241 dd.yiv8332859241last p a {font-family:Verdana;font-weight:700;}#yiv8332859241 dd.yiv8332859241last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8332859241 dd.yiv8332859241last p span.yiv8332859241yshortcuts {margin-right:0;}#yiv8332859241 div.yiv8332859241attach-table div div a {text-decoration:none;}#yiv8332859241 div.yiv8332859241attach-table {width:400px;}#yiv8332859241 div.yiv8332859241file-title a, #yiv8332859241 div.yiv8332859241file-title a:active, #yiv8332859241 div.yiv8332859241file-title a:hover, #yiv8332859241 div.yiv8332859241file-title a:visited {text-decoration:none;}#yiv8332859241 div.yiv8332859241photo-title a, #yiv8332859241 div.yiv8332859241photo-title a:active, #yiv8332859241 div.yiv8332859241photo-title a:hover, #yiv8332859241 div.yiv8332859241photo-title a:visited {text-decoration:none;}#yiv8332859241 div#yiv8332859241ygrp-mlmsg #yiv8332859241ygrp-msg p a span.yiv8332859241yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8332859241 .yiv8332859241green {color:#628c2a;}#yiv8332859241 .yiv8332859241MsoNormal {margin:0 0 0 0;}#yiv8332859241 o {font-size:0;}#yiv8332859241 #yiv8332859241photos div {float:left;width:72px;}#yiv8332859241 #yiv8332859241photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv8332859241 #yiv8332859241photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8332859241 #yiv8332859241reco-category {font-size:77%;}#yiv8332859241 #yiv8332859241reco-desc {font-size:77%;}#yiv8332859241 .yiv8332859241replbq {margin:4px;}#yiv8332859241 #yiv8332859241ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8332859241 #yiv8332859241ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8332859241 #yiv8332859241ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8332859241 #yiv8332859241ygrp-mlmsg select, #yiv8332859241 input, #yiv8332859241 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8332859241 #yiv8332859241ygrp-mlmsg pre, #yiv8332859241 code {font:115% monospace;}#yiv8332859241 #yiv8332859241ygrp-mlmsg * {line-height:1.22em;}#yiv8332859241 #yiv8332859241ygrp-mlmsg #yiv8332859241logo {padding-bottom:10px;}#yiv8332859241 #yiv8332859241ygrp-msg p a {font-family:Verdana;}#yiv8332859241 #yiv8332859241ygrp-msg p#yiv8332859241attach-count span {color:#1E66AE;font-weight:700;}#yiv8332859241 #yiv8332859241ygrp-reco #yiv8332859241reco-head {color:#ff7900;font-weight:700;}#yiv8332859241 #yiv8332859241ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ov li a {font-size:130%;text-decoration:none;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8332859241 #yiv8332859241ygrp-sponsor #yiv8332859241ov ul {margin:0;padding:0 0 0 8px;}#yiv8332859241 #yiv8332859241ygrp-text {font-family:Georgia;}#yiv8332859241 #yiv8332859241ygrp-text p {margin:0 0 1em 0;}#yiv8332859241 #yiv8332859241ygrp-text tt {font-size:120%;}#yiv8332859241 #yiv8332859241ygrp-vital ul li:last-child {border-right:none !important;}#yiv8332859241

Tue Apr 21, 2015 2:28 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

It might work the same. But without having an equity that HAS a gold,
silver, or bronze rating, it's hard to verify. Those ratings aren't given
to all equities.

On Tue, Apr 21, 2015 at 2:07 PM, Ron Spruell hashky@yahoo.com [smf_addin] <
smf_addin@yahoogroups.com> wrote:

>
> Never mind. I found your 4/16 note.
> "=smfConvertData(smfStrExtr(RCHGetWebData("
> http://financials.morningstar.com/company-profile/c.action?t=
> "&B2,"r_star"),"r_star","&#39;"))"
> which works.
>
> I still don't know where to get the gold, silver, and bronze rating..
>

Tue Apr 21, 2015 2:38 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

This extracts a "Bronze" rating for BLE:

=PROPER(smfStrExtr(RCHGetWebData("
http://performance.morningstar.com/funds/cef/total-returns.action?t=
"&C6,"r_star",50,10),"'r_","_"))

Just needed a web page that doesn't get a redirection to one that requires
an exchange on it (makes it harder to generate an appropriate URL).

On Tue, Apr 21, 2015 at 2:07 PM, Ron Spruell hashky@yahoo.com [smf_addin] <
smf_addin@yahoogroups.com> wrote:

>
> Never mind. I found your 4/16 note.
> "=smfConvertData(smfStrExtr(RCHGetWebData("
> http://financials.morningstar.com/company-profile/c.action?t=
> "&B2,"r_star"),"r_star","&#39;"))"
> which works.
>
> I still don't know where to get the gold, silver, and bronze rating..
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Posting Komentar