Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseVargasTE committed Apr 18, 2019
1 parent df6ee53 commit c3e9042
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 16 deletions.
Binary file modified Excel/All_Releases/ExcelAddInDeploy_latest.msi
Binary file not shown.
10 changes: 5 additions & 5 deletions Google-Sheets/Code.gs
Expand Up @@ -17,7 +17,6 @@ function urlToJson(url) {
}

function printData(json) {

Logger.log('Printing Data')

//Getting GSheets Context
Expand Down Expand Up @@ -86,7 +85,7 @@ function printData(json) {
Logger.log('i1: ' + i1)

for(var i in json) {

//Storing Numeric Part of the Selected Cell
var i2 = ''
for(var num in numToNum) {
Expand All @@ -95,19 +94,20 @@ function printData(json) {
Logger.log('i2: ' + i2)

//Printing Headers
Logger.log('Printing Headers')
for(var header in json[0]) {

activeSs.getRange(i2, i1).setValue(header)
i1++
}

//Printing Data
//Printing Rows
Logger.log('Printing Rows')
for(var i in json)
{
var _i1 = letterToColumn(charToNumber)
i2++
for(var j in json[i]) {

activeSs.getRange(i2, _i1).setValue(json[i][j])
_i1++
}
Expand All @@ -131,5 +131,5 @@ function onOpen(e) {
}

function onInstall(e) {
onOpen(e)
onOpen(e)
}
29 changes: 18 additions & 11 deletions Google-Sheets/forms.html
Expand Up @@ -38,7 +38,13 @@
label {
color: #333;
margin-top: 12px;
font-size: 1.2rem;
font-size: 1.1rem;
}

label span {
font-weight:100;
font-size: 1.1rem;
color: #999;
}

input {
Expand Down Expand Up @@ -68,6 +74,7 @@
#method {
width: 100%;
margin: 60px 0 10px 0;
padding: 8px;
}

.dropdown-menu {
Expand Down Expand Up @@ -139,10 +146,10 @@

#wrapper footer {
font-weight: 100;
font-size: 1rem;
font-size: 1.1rem;
text-align: left;
padding-bottom: 30px;
color: #999;
color: #b9b9b9;
}

.glyphicon {
Expand Down Expand Up @@ -303,16 +310,16 @@
<hr id="gettingWhatHr">
<span id="gettingWhatTitle">Test Title</span>

<div id="indicatorInputContainer">
<label for="indicatorInput" class="text-center">Indicators</label><br>
<input type="text" class="form-control" id="indicatorInput" value="GDP, Consumer Confidence, Unemployment Rate">
</div>

<div id="countryInputContainer">
<label for="countryInput" class="text-center">Countries</label><br>
<input type="text" class="form-control" id="countryInput" value="United States, United Kingdom, Australia">
</div>

<div id="indicatorInputContainer">
<label for="indicatorInput" class="text-center">Indicators</label><br>
<input type="text" class="form-control" id="indicatorInput" value="GDP, Consumer Confidence, Unemployment Rate">
</div>

<div id="tickerInputContainer">
<label for="tickerInput" class="text-center">Ticker</label><br>
<input type="text" class="form-control" id="tickerInput" value="USURTOT">
Expand All @@ -329,12 +336,12 @@
</div>

<div id="marketSymbolInputContainer">
<label for="marketSymbolInput" class="text-center">Market Symbol<br><span style="font-weight:100; font-size: 1rem; color: #999;">Stock, Index, Currency, Commodity or Bond<br>Some options will not accept all of the above</span></label><br>
<label for="marketSymbolInput" class="text-center">Market Symbol<br><span>Stock, Index, Currency, Commodity or Bond<br>Some options will not accept all of the above</span></label><br>
<input type="text" class="form-control" id="marketSymbolInput" value="AAPL:US, INDU:IND, MSFT:US">
</div>

<div id="earningsTypeInputContainer">
<label for="earningsTypeInput" class="text-center">Earnings Type<br><span style="font-weight:100; font-size: 1rem; color: #999;">Earnings, Dividends, IPO or Stock Splits<br>Only one Type at a Time</span></label><br>
<label for="earningsTypeInput" class="text-center">Earnings Type<br><span>Earnings, Dividends, IPO or Stock Splits<br>Only one Type at a Time</span></label><br>
<input type="text" class="form-control" id="earningsTypeInput" value="Earnings">
</div>

Expand All @@ -345,7 +352,7 @@
</div>

<div id="articleIdInputContainer">
<label for="articleIdInput" class="text-center">Article ID<br><span style="font-weight:100; font-size: 1rem; color: #999;">Only one ID at a Time</span></label><br>
<label for="articleIdInput" class="text-center">Article ID<br><span>Only one ID at a Time</span></label><br>
<input type="text" class="form-control" id="articleIdInput" value="20580">
</div>

Expand Down
Binary file added Google-Sheets/screen-shots/1-edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/1.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/2-edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/tileimage-128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/tileimage-32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/tileimage-48.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/tileimage-96.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Google-Sheets/screen-shots/tileimage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c3e9042

Please sign in to comment.