Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

347
Views
How can I Update Spreadsheet cell value directly from Html Page using appscript

I have a Planning sheet with huge data. For every row will have 200+ columns (cells). I wanted to change the cell value from html page using appscript.

How can we change the cell value directly from Html Table view.

Please help.

Regards RS

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Update value of cell in Spreadsheet from HTML page

function updatecellvaluefromhtmlpage() {
  let html = '<form><input type="text" name="thisvalue" size="25" placeholder = "Enter Value" /><br /><input type="button" value="Click to change value of A1 in Sheet1" onClick="google.script.run.changeValueOfA1(this.parentNode);" />'
  SpreadsheetApp.getUi().showModelessDialog(HtmlService.createHtmlOutput(html),'Change Value Sheet1A1');
}

function changeValueOfA1(obj) {
  const ss=SpreadsheetApp.getActive();
  const sh = ss.getSheetByName('Sheet1');
  sh.getRange('A1').setValue(obj.thisvalue)
}

htmlservice

show modeless

google.script.run

Html Dialog:

enter image description here

Changed Cell:

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!