Kamis, 17 November 2016

[smf_addin] Digest Number 3844

5 Messages

Digest #3844
1b
Re: Debt and Coverage ratios from Morningstar by "Randy Harmelink" rharmelink
1c
Re: Debt and Coverage ratios from Morningstar by "Kermit W. Prather" kermitpra
1e
Re: Debt and Coverage ratios from Morningstar by "Randy Harmelink" rharmelink

Messages

Wed Nov 16, 2016 7:42 am (PST) . Posted by:

"Jose Jacob" pepecan47

Thank you Craig but still I get "Error"

Randy, could it be my SMF version?

Stock Market Functions add-in, Version 2.1.2014.10.23.B (C:\SMF Add-In; ; ; 1)

Regards,
Jose L. Jacob

--------------------------------------------
On Wed, 11/16/16, Craig Passow passow@yahoo.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

Subject: Re: [smf_addin] Debt and Coverage ratios from Morningstar
To: smf_addin@yahoogroups.com
Received: Wednesday, November 16, 2016, 12:00 AM


 












There's a line feed in the equation between
"Cashflow" and "Ops"
as shown in the message. Replace that with a space and
it returns
0.26.


On 11/15/2016 10:35 PM,
Jose Jacob
pepecan47@yahoo.ca
[smf_addin] wrote:


 


Randy, when entering the formula on a
spreadsheet I get
"Error"



Regards,

Jose L. Jacob




--------------------------------------------

On Tue, 11/15/16, Randy Harmelink rharmelink@gmail.com
[smf_addin] <smf_addin@yahoogroups.com>
wrote:



Subject: Re: [smf_addin] Debt and Coverage
ratios from
Morningstar

To: smf_addin@yahoogroups.com

Received: Tuesday, November 15, 2016, 6:24
PM





 



















Yuck. Awkward extraction. The data

you want is actually contained within a frame
on the page,

which refers to a different URL that
doesn't use the

ticker symbol:



http://bond.morningstar.com/internal/company.aspx?cID=0C000008A4



The extraction would be something

like:



=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID="&smfStrExtr(RCHGetWebData("http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD","?cID="),"?cID=","&"),1,"Cashflow

Ops/Total Debt")



I

haven't been anxious to attack MorningStar
element

definitions, because there are so many, and
they don't

necessarily replace the original elements that
were
defined.

It's a messy process. Also, since they
have such

specific data on each web page, I'm afraid
the 1000 web

page limit would be hit quickly for people
getting data on

multiple tickers. That wasn't a concern
when everything

was on one print page.



If you

have a few data items you use regularly, you
could always

define your own element numbers for those
items.





On Tue,

Nov 15, 2016 at 2:10 PM, Jose Jacob
pepecan47@​...wrote:

Randy, I would like to get the Debt and
Coverage

Ratios from



http://quicktake.morningstar.

com/StockNet/bonds.aspx?
Symbol=MCD&Country=USA







specially interested in "Cashflow
Ops/Total Debt"

0.26







If possible, could you make these ratios
Element #'s?





























#yiv5899819010 #yiv5899819010 --

#yiv5899819010ygrp-mkp {

border:1px solid
#d8d8d8;font-family:Arial;margin:10px

0;padding:0 10px;}



#yiv5899819010 #yiv5899819010ygrp-mkp hr {

border:1px solid #d8d8d8;}



#yiv5899819010 #yiv5899819010ygrp-mkp
#yiv5899819010hd {

color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px

0;}



#yiv5899819010 #yiv5899819010ygrp-mkp
#yiv5899819010ads {

margin-bottom:10px;}



#yiv5899819010 #yiv5899819010ygrp-mkp
.yiv5899819010ad {

padding:0 0;}



#yiv5899819010 #yiv5899819010ygrp-mkp
.yiv5899819010ad p {

margin:0;}



#yiv5899819010 #yiv5899819010ygrp-mkp
.yiv5899819010ad a {

color:#0000ff;text-decoration:none;}

#yiv5899819010 #yiv5899819010ygrp-sponsor

#yiv5899819010ygrp-lc {

font-family:Arial;}



#yiv5899819010 #yiv5899819010ygrp-sponsor

#yiv5899819010ygrp-lc #yiv5899819010hd {

margin:10px


0px;font-weight:700;font-size:78%;line-height:122%;}



#yiv5899819010 #yiv5899819010ygrp-sponsor

#yiv5899819010ygrp-lc .yiv5899819010ad {

margin-bottom:10px;padding:0 0;}



#yiv5899819010 #yiv5899819010actions {


font-family:Verdana;font-size:11px;padding:10px 0;}



#yiv5899819010 #yiv5899819010activity {

background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}



#yiv5899819010 #yiv5899819010activity span
{

font-weight:700;}



#yiv5899819010 #yiv5899819010activity
span:first-child {

text-transform:uppercase;}



#yiv5899819010 #yiv5899819010activity span a
{

color:#5085b6;text-decoration:none;}



#yiv5899819010 #yiv5899819010activity span
span {

color:#ff7900;}



#yiv5899819010 #yiv5899819010activity span

.yiv5899819010underline {

text-decoration:underline;}



#yiv5899819010 .yiv5899819010attach {

clear:both;display:table;font-family:Arial;font-size:12px;padding:10px

0;width:400px;}



#yiv5899819010 .yiv5899819010attach div a {

text-decoration:none;}



#yiv5899819010 .yiv5899819010attach img {

border:none;padding-right:5px;}



#yiv5899819010 .yiv5899819010attach label {

display:block;margin-bottom:5px;}



#yiv5899819010 .yiv5899819010attach label a
{

text-decoration:none;}



#yiv5899819010 blockquote {

margin:0 0 0 4px;}



#yiv5899819010 .yiv5899819010bold {


font-family:Arial;font-size:13px;font-weight:700;}



#yiv5899819010 .yiv5899819010bold a {

text-decoration:none;}



#yiv5899819010 dd.yiv5899819010last p a {

font-family:Verdana;font-weight:700;}



#yiv5899819010 dd.yiv5899819010last p span
{


margin-right:10px;font-family:Verdana;font-weight:700;}



#yiv5899819010 dd.yiv5899819010last p

span.yiv5899819010yshortcuts {

margin-right:0;}



#yiv5899819010 div.yiv5899819010attach-table
div div a {

text-decoration:none;}



#yiv5899819010 div.yiv5899819010attach-table
{

width:400px;}



#yiv5899819010 div.yiv5899819010file-title a,
#yiv5899819010

div.yiv5899819010file-title a:active,
#yiv5899819010

div.yiv5899819010file-title a:hover,
#yiv5899819010

div.yiv5899819010file-title a:visited {

text-decoration:none;}



#yiv5899819010 div.yiv5899819010photo-title
a,

#yiv5899819010 div.yiv5899819010photo-title
a:active,

#yiv5899819010 div.yiv5899819010photo-title
a:hover,

#yiv5899819010 div.yiv5899819010photo-title
a:visited {

text-decoration:none;}



#yiv5899819010 div#yiv5899819010ygrp-mlmsg

#yiv5899819010ygrp-msg p a
span.yiv5899819010yshortcuts {


font-family:Verdana;font-size:10px;font-weight:normal;}



#yiv5899819010 .yiv5899819010green {

color:#628c2a;}



#yiv5899819010 .yiv5899819010MsoNormal {

margin:0 0 0 0;}



#yiv5899819010 o {

font-size:0;}



#yiv5899819010 #yiv5899819010photos div {

float:left;width:72px;}



#yiv5899819010 #yiv5899819010photos div div
{

border:1px solid


#666666;height:62px;overflow:hidden;width:62px;}



#yiv5899819010 #yiv5899819010photos div label
{

color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}



#yiv5899819010 #yiv5899819010reco-category
{

font-size:77%;}



#yiv5899819010 #yiv5899819010reco-desc {

font-size:77%;}



#yiv5899819010 .yiv5899819010replbq {

margin:4px;}



#yiv5899819010 #yiv5899819010ygrp-actbar div
a:first-child
{

margin-right:2px;padding-right:5px;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg {

font-size:13px;font-family:Arial, helvetica,
clean,

sans-serif;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg table
{

font-size:inherit;font:100%;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg
select,

#yiv5899819010 input, #yiv5899819010 textarea
{

font:99% Arial, Helvetica, clean,
sans-serif;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg pre,
#yiv5899819010

code {

font:115% monospace;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg * {

line-height:1.22em;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg
#yiv5899819010logo
{

padding-bottom:10px;}





#yiv5899819010 #yiv5899819010ygrp-msg p a {

font-family:Verdana;}



#yiv5899819010 #yiv5899819010ygrp-msg

p#yiv5899819010attach-count span {

color:#1E66AE;font-weight:700;}



#yiv5899819010 #yiv5899819010ygrp-reco

#yiv5899819010reco-head {

color:#ff7900;font-weight:700;}



#yiv5899819010 #yiv5899819010ygrp-reco {

margin-bottom:20px;padding:0px;}



#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ov

li a {

font-size:130%;text-decoration:none;}



#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ov

li {


font-size:77%;list-style-type:square;padding:6px 0;}



#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ov

ul {

margin:0;padding:0 0 0 8px;}



#yiv5899819010 #yiv5899819010ygrp-text {

font-family:Georgia;}



#yiv5899819010 #yiv5899819010ygrp-text p {

margin:0 0 1em 0;}



#yiv5899819010 #yiv5899819010ygrp-text tt {

font-size:120%;}



#yiv5899819010 #yiv5899819010ygrp-vital ul
li:last-child {

border-right:none !important;

}

#yiv5899819010























#yiv9356162611 #yiv9356162611 --
#yiv9356162611ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv9356162611 #yiv9356162611ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv9356162611 #yiv9356162611ygrp-mkp #yiv9356162611hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv9356162611 #yiv9356162611ygrp-mkp #yiv9356162611ads {
margin-bottom:10px;}

#yiv9356162611 #yiv9356162611ygrp-mkp .yiv9356162611ad {
padding:0 0;}

#yiv9356162611 #yiv9356162611ygrp-mkp .yiv9356162611ad p {
margin:0;}

#yiv9356162611 #yiv9356162611ygrp-mkp .yiv9356162611ad a {
color:#0000ff;text-decoration:none;}
#yiv9356162611 #yiv9356162611ygrp-sponsor
#yiv9356162611ygrp-lc {
font-family:Arial;}

#yiv9356162611 #yiv9356162611ygrp-sponsor
#yiv9356162611ygrp-lc #yiv9356162611hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv9356162611 #yiv9356162611ygrp-sponsor
#yiv9356162611ygrp-lc .yiv9356162611ad {
margin-bottom:10px;padding:0 0;}

#yiv9356162611 #yiv9356162611actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv9356162611 #yiv9356162611activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv9356162611 #yiv9356162611activity span {
font-weight:700;}

#yiv9356162611 #yiv9356162611activity span:first-child {
text-transform:uppercase;}

#yiv9356162611 #yiv9356162611activity span a {
color:#5085b6;text-decoration:none;}

#yiv9356162611 #yiv9356162611activity span span {
color:#ff7900;}

#yiv9356162611 #yiv9356162611activity span
.yiv9356162611underline {
text-decoration:underline;}

#yiv9356162611 .yiv9356162611attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv9356162611 .yiv9356162611attach div a {
text-decoration:none;}

#yiv9356162611 .yiv9356162611attach img {
border:none;padding-right:5px;}

#yiv9356162611 .yiv9356162611attach label {
display:block;margin-bottom:5px;}

#yiv9356162611 .yiv9356162611attach label a {
text-decoration:none;}

#yiv9356162611 blockquote {
margin:0 0 0 4px;}

#yiv9356162611 .yiv9356162611bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv9356162611 .yiv9356162611bold a {
text-decoration:none;}

#yiv9356162611 dd.yiv9356162611last p a {
font-family:Verdana;font-weight:700;}

#yiv9356162611 dd.yiv9356162611last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv9356162611 dd.yiv9356162611last p
span.yiv9356162611yshortcuts {
margin-right:0;}

#yiv9356162611 div.yiv9356162611attach-table div div a {
text-decoration:none;}

#yiv9356162611 div.yiv9356162611attach-table {
width:400px;}

#yiv9356162611 div.yiv9356162611file-title a, #yiv9356162611
div.yiv9356162611file-title a:active, #yiv9356162611
div.yiv9356162611file-title a:hover, #yiv9356162611
div.yiv9356162611file-title a:visited {
text-decoration:none;}

#yiv9356162611 div.yiv9356162611photo-title a,
#yiv9356162611 div.yiv9356162611photo-title a:active,
#yiv9356162611 div.yiv9356162611photo-title a:hover,
#yiv9356162611 div.yiv9356162611photo-title a:visited {
text-decoration:none;}

#yiv9356162611 div#yiv9356162611ygrp-mlmsg
#yiv9356162611ygrp-msg p a span.yiv9356162611yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv9356162611 .yiv9356162611green {
color:#628c2a;}

#yiv9356162611 .yiv9356162611MsoNormal {
margin:0 0 0 0;}

#yiv9356162611 o {
font-size:0;}

#yiv9356162611 #yiv9356162611photos div {
float:left;width:72px;}

#yiv9356162611 #yiv9356162611photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv9356162611 #yiv9356162611photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv9356162611 #yiv9356162611reco-category {
font-size:77%;}

#yiv9356162611 #yiv9356162611reco-desc {
font-size:77%;}

#yiv9356162611 .yiv9356162611replbq {
margin:4px;}

#yiv9356162611 #yiv9356162611ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg select,
#yiv9356162611 input, #yiv9356162611 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg pre, #yiv9356162611
code {
font:115% monospace;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg * {
line-height:1.22em;}

#yiv9356162611 #yiv9356162611ygrp-mlmsg #yiv9356162611logo {
padding-bottom:10px;}


#yiv9356162611 #yiv9356162611ygrp-msg p a {
font-family:Verdana;}

#yiv9356162611 #yiv9356162611ygrp-msg
p#yiv9356162611attach-count span {
color:#1E66AE;font-weight:700;}

#yiv9356162611 #yiv9356162611ygrp-reco
#yiv9356162611reco-head {
color:#ff7900;font-weight:700;}

#yiv9356162611 #yiv9356162611ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv9356162611 #yiv9356162611ygrp-sponsor #yiv9356162611ov
li a {
font-size:130%;text-decoration:none;}

#yiv9356162611 #yiv9356162611ygrp-sponsor #yiv9356162611ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv9356162611 #yiv9356162611ygrp-sponsor #yiv9356162611ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv9356162611 #yiv9356162611ygrp-text {
font-family:Georgia;}

#yiv9356162611 #yiv9356162611ygrp-text p {
margin:0 0 1em 0;}

#yiv9356162611 #yiv9356162611ygrp-text tt {
font-size:120%;}

#yiv9356162611 #yiv9356162611ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv9356162611


Wed Nov 16, 2016 1:00 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

Might be. More likely the formula is getting mangled up between Yahoo and
your email client.

Make sure there are no inserted blanks or whatnot. You can paste back here
what you're getting and maybe we can see where it's going wrong?

On Wed, Nov 16, 2016 at 8:42 AM, Jose Jacob pepecan47@yahoo.ca [smf_addin] <
smf_addin@yahoogroups.com> wrote:

> Thank you Craig but still I get "Error"
>
> Randy, could it be my SMF version?
>
> Stock Market Functions add-in, Version 2.1.2014.10.23.B (C:\SMF Add-In; ;
> ; 1)
>
>

Wed Nov 16, 2016 2:16 pm (PST) . Posted by:

"Kermit W. Prather" kermitpra

These was an error in the formula. I let excel fix it, so the results may not be what you wanted
=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID="&smfStrExtr(RCHGetWebData("http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD","?cID="),"?cID=","&"),1,"Cashflow")

This is the returned result after excel repaired the formula.
0.26

-----Original Message-----
From: smf_addin@yahoogroups.com [mailto:smf_addin@yahoogroups.com]
Sent: Tuesday, November 15, 2016 11:36 PM
To: smf_addin@yahoogroups.com
Subject: Re: [smf_addin] Debt and Coverage ratios from Morningstar

Randy, when entering the formula on a spreadsheet I get "Error"

Regards,
Jose L. Jacob

--------------------------------------------
On Tue, 11/15/16, Randy Harmelink rharmelink@gmail.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

Subject: Re: [smf_addin] Debt and Coverage ratios from Morningstar
To: smf_addin@yahoogroups.com
Received: Tuesday, November 15, 2016, 6:24 PM












Yuck. Awkward extraction. The data you want is actually contained within a frame on the page, which refers to a different URL that doesn't use the ticker symbol:

http://bond.morningstar.com/internal/company.aspx?cID=0C000008A4

The extraction would be something
like:

=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID="&smfStrExtr(RCHGetWebData("http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD","?cID="),"?cID=","&"),1,"Cashflow
Ops/Total Debt")

I
haven't been anxious to attack MorningStar element definitions, because there are so many, and they don't necessarily replace the original elements that were defined.
It's a messy process. Also, since they have such specific data on each web page, I'm afraid the 1000 web page limit would be hit quickly for people getting data on multiple tickers. That wasn't a concern when everything was on one print page.

If you
have a few data items you use regularly, you could always define your own element numbers for those items.


On Tue,
Nov 15, 2016 at 2:10 PM, Jose Jacob pepecan47@​...wrote:
Randy, I would like to get the Debt and Coverage Ratios from

http://quicktake.morningstar.
com/StockNet/bonds.aspx? Symbol=MCD&Country=USA



specially interested in "Cashflow Ops/Total Debt"
0.26



If possible, could you make these ratios Element #'s?














#yiv5899819010 #yiv5899819010 --
#yiv5899819010ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv5899819010 #yiv5899819010ygrp-mkp hr { border:1px solid #d8d8d8;}

#yiv5899819010 #yiv5899819010ygrp-mkp #yiv5899819010hd { color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv5899819010 #yiv5899819010ygrp-mkp #yiv5899819010ads { margin-bottom:10px;}

#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad {
padding:0 0;}

#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad p { margin:0;}

#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad a { color:#0000ff;text-decoration:none;}
#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ygrp-lc { font-family:Arial;}

#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ygrp-lc #yiv5899819010hd { margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ygrp-lc .yiv5899819010ad {
margin-bottom:10px;padding:0 0;}

#yiv5899819010 #yiv5899819010actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv5899819010 #yiv5899819010activity { background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv5899819010 #yiv5899819010activity span { font-weight:700;}

#yiv5899819010 #yiv5899819010activity span:first-child { text-transform:uppercase;}

#yiv5899819010 #yiv5899819010activity span a { color:#5085b6;text-decoration:none;}

#yiv5899819010 #yiv5899819010activity span span { color:#ff7900;}

#yiv5899819010 #yiv5899819010activity span .yiv5899819010underline { text-decoration:underline;}

#yiv5899819010 .yiv5899819010attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv5899819010 .yiv5899819010attach div a { text-decoration:none;}

#yiv5899819010 .yiv5899819010attach img { border:none;padding-right:5px;}

#yiv5899819010 .yiv5899819010attach label { display:block;margin-bottom:5px;}

#yiv5899819010 .yiv5899819010attach label a { text-decoration:none;}

#yiv5899819010 blockquote {
margin:0 0 0 4px;}

#yiv5899819010 .yiv5899819010bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv5899819010 .yiv5899819010bold a {
text-decoration:none;}

#yiv5899819010 dd.yiv5899819010last p a { font-family:Verdana;font-weight:700;}

#yiv5899819010 dd.yiv5899819010last p span { margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv5899819010 dd.yiv5899819010last p
span.yiv5899819010yshortcuts {
margin-right:0;}

#yiv5899819010 div.yiv5899819010attach-table div div a { text-decoration:none;}

#yiv5899819010 div.yiv5899819010attach-table { width:400px;}

#yiv5899819010 div.yiv5899819010file-title a, #yiv5899819010 div.yiv5899819010file-title a:active, #yiv5899819010 div.yiv5899819010file-title a:hover, #yiv5899819010 div.yiv5899819010file-title a:visited { text-decoration:none;}

#yiv5899819010 div.yiv5899819010photo-title a,
#yiv5899819010 div.yiv5899819010photo-title a:active,
#yiv5899819010 div.yiv5899819010photo-title a:hover,
#yiv5899819010 div.yiv5899819010photo-title a:visited { text-decoration:none;}

#yiv5899819010 div#yiv5899819010ygrp-mlmsg #yiv5899819010ygrp-msg p a span.yiv5899819010yshortcuts { font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv5899819010 .yiv5899819010green {
color:#628c2a;}

#yiv5899819010 .yiv5899819010MsoNormal {
margin:0 0 0 0;}

#yiv5899819010 o {
font-size:0;}

#yiv5899819010 #yiv5899819010photos div { float:left;width:72px;}

#yiv5899819010 #yiv5899819010photos div div { border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#yiv5899819010 #yiv5899819010photos div label { color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv5899819010 #yiv5899819010reco-category { font-size:77%;}

#yiv5899819010 #yiv5899819010reco-desc { font-size:77%;}

#yiv5899819010 .yiv5899819010replbq {
margin:4px;}

#yiv5899819010 #yiv5899819010ygrp-actbar div a:first-child { margin-right:2px;padding-right:5px;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg { font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg table { font-size:inherit;font:100%;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg select,
#yiv5899819010 input, #yiv5899819010 textarea { font:99% Arial, Helvetica, clean, sans-serif;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg pre, #yiv5899819010 code { font:115% monospace;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg * { line-height:1.22em;}

#yiv5899819010 #yiv5899819010ygrp-mlmsg #yiv5899819010logo { padding-bottom:10px;}


#yiv5899819010 #yiv5899819010ygrp-msg p a { font-family:Verdana;}

#yiv5899819010 #yiv5899819010ygrp-msg
p#yiv5899819010attach-count span {
color:#1E66AE;font-weight:700;}

#yiv5899819010 #yiv5899819010ygrp-reco
#yiv5899819010reco-head {
color:#ff7900;font-weight:700;}

#yiv5899819010 #yiv5899819010ygrp-reco { margin-bottom:20px;padding:0px;}

#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov li a { font-size:130%;text-decoration:none;}

#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov li { font-size:77%;list-style-type:square;padding:6px 0;}

#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov ul {
margin:0;padding:0 0 0 8px;}

#yiv5899819010 #yiv5899819010ygrp-text { font-family:Georgia;}

#yiv5899819010 #yiv5899819010ygrp-text p {
margin:0 0 1em 0;}

#yiv5899819010 #yiv5899819010ygrp-text tt { font-size:120%;}

#yiv5899819010 #yiv5899819010ygrp-vital ul li:last-child { border-right:none !important; }
#yiv5899819010


------------------------------------
Posted by: Jose Jacob <pepecan47@yahoo.ca>
------------------------------------

For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF
------------------------------------

Yahoo Groups Links

Wed Nov 16, 2016 8:50 pm (PST) . Posted by:

"Jose Jacob" pepecan47

Still having "Error".

Randy, it is possible to divide the formula in 2, so the second takes input from the result of the first? In this way we can know were is failing?

Regards,
Jose L. Jacob

--------------------------------------------
On Wed, 11/16/16, 'Kermit W. Prather' kermitp@tampabay.rr.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

Subject: RE: [smf_addin] Debt and Coverage ratios from Morningstar
To: smf_addin@yahoogroups.com
Received: Wednesday, November 16, 2016, 5:16 PM


 









These was an error in the formula. I let excel fix
it, so the results may not be what you wanted

=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID="&smfStrExtr(RCHGetWebData("http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD","?cID="),"?cID=","&"),1,"Cashflow")



This is the returned result after excel repaired the
formula.

0.26



-----Original Message-----

From: smf_addin@yahoogroups.com
[mailto:smf_addin@yahoogroups.com]

Sent: Tuesday, November 15, 2016 11:36 PM

To: smf_addin@yahoogroups.com

Subject: Re: [smf_addin] Debt and Coverage ratios from
Morningstar



Randy, when entering the formula on a spreadsheet I get
"Error"



Regards,

Jose L. Jacob



--------------------------------------------

On Tue, 11/15/16, Randy Harmelink rharmelink@gmail.com
[smf_addin] <smf_addin@yahoogroups.com> wrote:



Subject: Re: [smf_addin] Debt and Coverage ratios from
Morningstar

To: smf_addin@yahoogroups.com

Received: Tuesday, November 15, 2016, 6:24 PM

























Yuck. Awkward extraction. The data you want is
actually contained within a frame on the page, which refers
to a different URL that doesn't use the ticker
symbol:



http://bond.morningstar.com/internal/company.aspx?cID=0C000008A4



The extraction would be something

like:



=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID="&smfStrExtr(RCHGetWebData("http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD","?cID="),"?cID=","&"),1,"Cashflow

Ops/Total Debt")



I

haven't been anxious to attack MorningStar element
definitions, because there are so many, and they don't
necessarily replace the original elements that were
defined.

It's a messy process. Also, since they have such
specific data on each web page, I'm afraid the 1000 web
page limit would be hit quickly for people getting data on
multiple tickers. That wasn't a concern when everything
was on one print page.



If you

have a few data items you use regularly, you could always
define your own element numbers for those items.





On Tue,

Nov 15, 2016 at 2:10 PM, Jose Jacob
pepecan47@​...wrote:

Randy, I would like to get the Debt and Coverage Ratios
from



http://quicktake.morningstar.

com/StockNet/bonds.aspx? Symbol=MCD&Country=USA







specially interested in "Cashflow Ops/Total
Debt"

0.26







If possible, could you make these ratios Element
#'s?





























#yiv5899819010 #yiv5899819010 --

#yiv5899819010ygrp-mkp {

border:1px solid #d8d8d8;font-family:Arial;margin:10px

0;padding:0 10px;}



#yiv5899819010 #yiv5899819010ygrp-mkp hr { border:1px
solid #d8d8d8;}



#yiv5899819010 #yiv5899819010ygrp-mkp #yiv5899819010hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px

0;}



#yiv5899819010 #yiv5899819010ygrp-mkp #yiv5899819010ads {
margin-bottom:10px;}



#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad {

padding:0 0;}



#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad p {
margin:0;}



#yiv5899819010 #yiv5899819010ygrp-mkp .yiv5899819010ad a {
color:#0000ff;text-decoration:none;}

#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ygrp-lc { font-family:Arial;}



#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ygrp-lc #yiv5899819010hd { margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}



#yiv5899819010 #yiv5899819010ygrp-sponsor
#yiv5899819010ygrp-lc .yiv5899819010ad {

margin-bottom:10px;padding:0 0;}



#yiv5899819010 #yiv5899819010actions {

font-family:Verdana;font-size:11px;padding:10px 0;}



#yiv5899819010 #yiv5899819010activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}



#yiv5899819010 #yiv5899819010activity span {
font-weight:700;}



#yiv5899819010 #yiv5899819010activity span:first-child {
text-transform:uppercase;}



#yiv5899819010 #yiv5899819010activity span a {
color:#5085b6;text-decoration:none;}



#yiv5899819010 #yiv5899819010activity span span {
color:#ff7900;}



#yiv5899819010 #yiv5899819010activity span
.yiv5899819010underline { text-decoration:underline;}



#yiv5899819010 .yiv5899819010attach {

clear:both;display:table;font-family:Arial;font-size:12px;padding:10px

0;width:400px;}



#yiv5899819010 .yiv5899819010attach div a {
text-decoration:none;}



#yiv5899819010 .yiv5899819010attach img {
border:none;padding-right:5px;}



#yiv5899819010 .yiv5899819010attach label {
display:block;margin-bottom:5px;}



#yiv5899819010 .yiv5899819010attach label a {
text-decoration:none;}



#yiv5899819010 blockquote {

margin:0 0 0 4px;}



#yiv5899819010 .yiv5899819010bold {

font-family:Arial;font-size:13px;font-weight:700;}



#yiv5899819010 .yiv5899819010bold a {

text-decoration:none;}



#yiv5899819010 dd.yiv5899819010last p a {
font-family:Verdana;font-weight:700;}



#yiv5899819010 dd.yiv5899819010last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}



#yiv5899819010 dd.yiv5899819010last p

span.yiv5899819010yshortcuts {

margin-right:0;}



#yiv5899819010 div.yiv5899819010attach-table div div a {
text-decoration:none;}



#yiv5899819010 div.yiv5899819010attach-table {
width:400px;}



#yiv5899819010 div.yiv5899819010file-title a,
#yiv5899819010 div.yiv5899819010file-title a:active,
#yiv5899819010 div.yiv5899819010file-title a:hover,
#yiv5899819010 div.yiv5899819010file-title a:visited {
text-decoration:none;}



#yiv5899819010 div.yiv5899819010photo-title a,

#yiv5899819010 div.yiv5899819010photo-title a:active,

#yiv5899819010 div.yiv5899819010photo-title a:hover,

#yiv5899819010 div.yiv5899819010photo-title a:visited {
text-decoration:none;}



#yiv5899819010 div#yiv5899819010ygrp-mlmsg
#yiv5899819010ygrp-msg p a span.yiv5899819010yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}



#yiv5899819010 .yiv5899819010green {

color:#628c2a;}



#yiv5899819010 .yiv5899819010MsoNormal {

margin:0 0 0 0;}



#yiv5899819010 o {

font-size:0;}



#yiv5899819010 #yiv5899819010photos div {
float:left;width:72px;}



#yiv5899819010 #yiv5899819010photos div div { border:1px
solid #666666;height:62px;overflow:hidden;width:62px;}



#yiv5899819010 #yiv5899819010photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}



#yiv5899819010 #yiv5899819010reco-category {
font-size:77%;}



#yiv5899819010 #yiv5899819010reco-desc {
font-size:77%;}



#yiv5899819010 .yiv5899819010replbq {

margin:4px;}



#yiv5899819010 #yiv5899819010ygrp-actbar div a:first-child
{ margin-right:2px;padding-right:5px;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg table {
font-size:inherit;font:100%;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg select,

#yiv5899819010 input, #yiv5899819010 textarea { font:99%
Arial, Helvetica, clean, sans-serif;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg pre, #yiv5899819010
code { font:115% monospace;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg * {
line-height:1.22em;}



#yiv5899819010 #yiv5899819010ygrp-mlmsg #yiv5899819010logo
{ padding-bottom:10px;}





#yiv5899819010 #yiv5899819010ygrp-msg p a {
font-family:Verdana;}



#yiv5899819010 #yiv5899819010ygrp-msg

p#yiv5899819010attach-count span {

color:#1E66AE;font-weight:700;}



#yiv5899819010 #yiv5899819010ygrp-reco

#yiv5899819010reco-head {

color:#ff7900;font-weight:700;}



#yiv5899819010 #yiv5899819010ygrp-reco {
margin-bottom:20px;padding:0px;}



#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov
li a { font-size:130%;text-decoration:none;}



#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov
li { font-size:77%;list-style-type:square;padding:6px
0;}



#yiv5899819010 #yiv5899819010ygrp-sponsor #yiv5899819010ov
ul {

margin:0;padding:0 0 0 8px;}



#yiv5899819010 #yiv5899819010ygrp-text {
font-family:Georgia;}



#yiv5899819010 #yiv5899819010ygrp-text p {

margin:0 0 1em 0;}



#yiv5899819010 #yiv5899819010ygrp-text tt {
font-size:120%;}



#yiv5899819010 #yiv5899819010ygrp-vital ul li:last-child {
border-right:none !important; }

#yiv5899819010





------------------------------------

Posted by: Jose Jacob <pepecan47@yahoo.ca>

------------------------------------



For the Add-in, Documentation, Templates, Tips and FAQs,
visit http://ogres-crypt.com/SMF

------------------------------------



Yahoo Groups Links













#yiv1110611198 #yiv1110611198 --
#yiv1110611198ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv1110611198 #yiv1110611198ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv1110611198 #yiv1110611198ygrp-mkp #yiv1110611198hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv1110611198 #yiv1110611198ygrp-mkp #yiv1110611198ads {
margin-bottom:10px;}

#yiv1110611198 #yiv1110611198ygrp-mkp .yiv1110611198ad {
padding:0 0;}

#yiv1110611198 #yiv1110611198ygrp-mkp .yiv1110611198ad p {
margin:0;}

#yiv1110611198 #yiv1110611198ygrp-mkp .yiv1110611198ad a {
color:#0000ff;text-decoration:none;}
#yiv1110611198 #yiv1110611198ygrp-sponsor
#yiv1110611198ygrp-lc {
font-family:Arial;}

#yiv1110611198 #yiv1110611198ygrp-sponsor
#yiv1110611198ygrp-lc #yiv1110611198hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv1110611198 #yiv1110611198ygrp-sponsor
#yiv1110611198ygrp-lc .yiv1110611198ad {
margin-bottom:10px;padding:0 0;}

#yiv1110611198 #yiv1110611198actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv1110611198 #yiv1110611198activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv1110611198 #yiv1110611198activity span {
font-weight:700;}

#yiv1110611198 #yiv1110611198activity span:first-child {
text-transform:uppercase;}

#yiv1110611198 #yiv1110611198activity span a {
color:#5085b6;text-decoration:none;}

#yiv1110611198 #yiv1110611198activity span span {
color:#ff7900;}

#yiv1110611198 #yiv1110611198activity span
.yiv1110611198underline {
text-decoration:underline;}

#yiv1110611198 .yiv1110611198attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv1110611198 .yiv1110611198attach div a {
text-decoration:none;}

#yiv1110611198 .yiv1110611198attach img {
border:none;padding-right:5px;}

#yiv1110611198 .yiv1110611198attach label {
display:block;margin-bottom:5px;}

#yiv1110611198 .yiv1110611198attach label a {
text-decoration:none;}

#yiv1110611198 blockquote {
margin:0 0 0 4px;}

#yiv1110611198 .yiv1110611198bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv1110611198 .yiv1110611198bold a {
text-decoration:none;}

#yiv1110611198 dd.yiv1110611198last p a {
font-family:Verdana;font-weight:700;}

#yiv1110611198 dd.yiv1110611198last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv1110611198 dd.yiv1110611198last p
span.yiv1110611198yshortcuts {
margin-right:0;}

#yiv1110611198 div.yiv1110611198attach-table div div a {
text-decoration:none;}

#yiv1110611198 div.yiv1110611198attach-table {
width:400px;}

#yiv1110611198 div.yiv1110611198file-title a, #yiv1110611198
div.yiv1110611198file-title a:active, #yiv1110611198
div.yiv1110611198file-title a:hover, #yiv1110611198
div.yiv1110611198file-title a:visited {
text-decoration:none;}

#yiv1110611198 div.yiv1110611198photo-title a,
#yiv1110611198 div.yiv1110611198photo-title a:active,
#yiv1110611198 div.yiv1110611198photo-title a:hover,
#yiv1110611198 div.yiv1110611198photo-title a:visited {
text-decoration:none;}

#yiv1110611198 div#yiv1110611198ygrp-mlmsg
#yiv1110611198ygrp-msg p a span.yiv1110611198yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv1110611198 .yiv1110611198green {
color:#628c2a;}

#yiv1110611198 .yiv1110611198MsoNormal {
margin:0 0 0 0;}

#yiv1110611198 o {
font-size:0;}

#yiv1110611198 #yiv1110611198photos div {
float:left;width:72px;}

#yiv1110611198 #yiv1110611198photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv1110611198 #yiv1110611198photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv1110611198 #yiv1110611198reco-category {
font-size:77%;}

#yiv1110611198 #yiv1110611198reco-desc {
font-size:77%;}

#yiv1110611198 .yiv1110611198replbq {
margin:4px;}

#yiv1110611198 #yiv1110611198ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg select,
#yiv1110611198 input, #yiv1110611198 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg pre, #yiv1110611198
code {
font:115% monospace;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg * {
line-height:1.22em;}

#yiv1110611198 #yiv1110611198ygrp-mlmsg #yiv1110611198logo {
padding-bottom:10px;}


#yiv1110611198 #yiv1110611198ygrp-msg p a {
font-family:Verdana;}

#yiv1110611198 #yiv1110611198ygrp-msg
p#yiv1110611198attach-count span {
color:#1E66AE;font-weight:700;}

#yiv1110611198 #yiv1110611198ygrp-reco
#yiv1110611198reco-head {
color:#ff7900;font-weight:700;}

#yiv1110611198 #yiv1110611198ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv1110611198 #yiv1110611198ygrp-sponsor #yiv1110611198ov
li a {
font-size:130%;text-decoration:none;}

#yiv1110611198 #yiv1110611198ygrp-sponsor #yiv1110611198ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv1110611198 #yiv1110611198ygrp-sponsor #yiv1110611198ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv1110611198 #yiv1110611198ygrp-text {
font-family:Georgia;}

#yiv1110611198 #yiv1110611198ygrp-text p {
margin:0 0 1em 0;}

#yiv1110611198 #yiv1110611198ygrp-text tt {
font-size:120%;}

#yiv1110611198 #yiv1110611198ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv1110611198


Wed Nov 16, 2016 8:58 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

Sure. The formula to get the cID is:

=smfStrExtr(RCHGetWebData("
http://quicktake.morningstar.com/StockNet/bonds.aspx?Symbol=MCD
","?cID="),"?cID=","&")

If that's in cell D3, the rest of the formula:

=RCHGetTableCell("http://bond.morningstar.com/internal/company.aspx?cID=
"&D3,1,"Cashflow&quot;)

​Note: MorningStar is a website that sometimes requires you to visit the
website BEFORE using SMF extractions, because they sometimes have a
redirection to an advertisement on your first visit of the day. By visiting
the site (with the EXCEL Web Query or IE), it clears that first redirection
by creating a cookie that says the redirection no longer needs to be done.​

On Wed, Nov 16, 2016 at 9:50 PM, Jose Jacob pepecan47
​...wrote:

> Still having "Error".
>
> Randy, it is possible to divide the formula in 2, so the second takes
> input from the result of the first? In this way we can know were is failing?
>
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Poskan Komentar