• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

how to export live rates data from excel to my website.

nksa84

New Member
Friend


I have a Live Rates being displayed in my excel sheet .. i wanted to link my excel sheet to my own website ..so that my clients also view the rates.


kindly help..stucked in middle of work.,.


thanks in advance


Nitin
 
Hi, nksa84!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about questions in general...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


And about this question in particular...


Isn't this more a web question than an Excel one? Maybe it should be posted at web development forums. Despite of this you only need to upload a copy of your workbook to a folder with public read only access in your hosting server and then place a link to it on one of your web pages. If you google it you'll find lots of examples like the one of below, but if I were you I'd check it with my webmaster, and if he doesn't exist then with my hosting support.

http://agsci.psu.edu/it/how-to/linking-to-particular-excel-worksheet-from-web-page


Regards!
 
Dear Sir i have already checked related question.... could not find proper answer for query.....


kindly help me in this regards


all my query is


im being provided live rates in excel sheet by my provider... i want to link these excel sheet to my webpage so that people can view live rates on my websites something like http://capsliverates.com/pc.php#; www.svbcgold.com,www.nbspot.in,


kindly help me in this regards am stucked up in middle of a project.
 
Hi, nksa84!

I insist, it's a web development question more than an Excel question. For example the 2nd site uses this code for the live rates:

-----

"

// To display the live prices
var t;
function CallLivePrice() {
//debugger;
//alert('tset');
clearTimeout(t);
$.ajax({
type: ""POST"",
url: ""LivePriceService.asmx/getSVBCPrice"",
data: ""{}"",
contentType: ""application/json; charset=utf-8"",
dataType: ""json"",
success: OnSuccess,
error: OnError
});
}

function OnSuccess(data, status) {

var jSonObj = $.parseJSON(data.d);
$('#lblSpotGold999').text(jSonObj.SpotGold999);
$('#lblSpotGold999Big').text(jSonObj.SpotGold999);
$('#lblSpotGold999').css({ color: jSonObj.colrGold999 });
$('#lblSpotGold999Big').css({ color: jSonObj.colrGold999 });

$('#lblSpotSilver999').text(jSonObj.SpotSilver999);
$('#lblSpotSilver999Big').text(jSonObj.SpotSilver999);
$('#lblSpotSilver999').css({ color: jSonObj.colrSilver999 });
$('#lblSpotSilver999Big').css({ color: jSonObj.colrSilver999 });

$('#lblSpotGold50gm').text(jSonObj.SpotGold50gm);
$('#lblSpotGold50gmBig').text(jSonObj.SpotGold50gm);
$('#lblSpotGold50gm').css({ color: jSonObj.colrGold50gm });
$('#lblSpotGold50gmBig').css({ color: jSonObj.colrGold50gm });

$('#lblSpotGold916').text(jSonObj.SpotGold916);
$('#lblSpotGold916Big').text(jSonObj.SpotGold916);
$('#lblSpotGold916').css({ color: jSonObj.colrGold916 });
$('#lblSpotGold916Big').css({ color: jSonObj.colrGold916 });

$('#lblSpotGoldBid').text(jSonObj.SpotGoldBid);
$('#lblSpotGoldBidBig').text(jSonObj.SpotGoldBid);
$('#lblSpotGoldBid').css({ color: jSonObj.colrGoldBid });
$('#lblSpotGoldBidBig').css({ color: jSonObj.colrGoldBid });

$('#lblGold').text(jSonObj.GoldCMX);
$('#lblGoldBig').text(jSonObj.GoldCMX);
$('#lblGold').css({ color: jSonObj.colrGoldCMX });
$('#lblGoldBig').css({ color: jSonObj.colrGoldCMX });

$('#lblSilver').text(jSonObj.SilverCMX);
$('#lblSilverBig').text(jSonObj.SilverCMX);
$('#lblSilver').css({ color: jSonObj.colrSilverCMX });
$('#lblSilverBig').css({ color: jSonObj.colrSilverCMX });

$('#lblUsd').text(jSonObj.USDInr);
$('#lblUsdBig').text(jSonObj.USDInr);
$('#lblUsd').css({ color: jSonObj.colrUSDInr });
$('#lblUsdBig').css({ color: jSonObj.colrUSDInr });

// clearTimeout(t);
t = setTimeout(""CallLivePrice()"", 2000);
}

function OnError(request, status, error) {
//alert('f'+status);
$('#lblSpotGold999').text(""NA"");
$('#lblSpotGold999Big').text(""NA"");

$('#lblSpotSilver999').text(""NA"");
$('#lblSpotSilver999Big').text(""NA"");

$('#lblSpotGold50gm').text(""NA"");
$('#lblSpotGold50gmBig').text(""NA"");

$('#lblSpotGold916').text(""NA"");
$('#lblSpotGold916Big').text(""NA"");

$('#lblSpotGoldBid').text(""NA"");
$('#lblSpotGoldBidBig').text(""NA"");

$('#lblGold').text(""NA"");
$('#lblGoldBig').text(""NA"");

$('#lblSilver').text(""NA"");
$('#lblSilverBig').text(""NA"");

$('#lblUsd').text(""NA"");
$('#lblUsdBig').text(""NA"");

// clearTimeout(t);

t = setTimeout(""CallLivePrice()"", 2000);
}

window.onload = function () {
CallLivePrice();
}

"

-----


But you could easily find out this viewing the source code or the page.


For other Excel related questions, consider uploading a sample file (including manual examples of desired output if applicable), it'd be very useful for those who read this and might be able to help you. Thank you. Give a look at the green sticky posts at this forums main page for uploading guidelines.


Regards!
 
Back
Top