如何从用户读取Excel文件并生成Google表格文件 [英] How to read excel file from user and generating Google Sheet file

查看:45
本文介绍了如何从用户读取Excel文件并生成Google表格文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要允许用户上传excel(xlsx)文件,然后使用Google脚本生成Google表格文件(生成的文件使用输入文件值,使用某些公式对其进行处理,并基于所有处理方式提供另一个excel文件作为输出)

I need to allow user upload excel (xlsx) file and then generate a Google Sheets file using Google Scripts (the generated file uses the input file values, process them with certain formulas and provides another excel file as output based on all processing)

我目前正在一个简单的桌面应用程序中执行此任务(使用MS Excel等),但问题是我拥有管理员权限,我希望其他人在其PC上执行相同的操作,但他们没有管理员权限,所以请帮我解决这个问题,这是通过Google表格实现它的最佳方法是什么.我需要执行以下操作:

I am currently doing the task in a simple desktop application (using MS Excel etc.), but problem is I have admin rights and I want other people to do the same on their PCs but they dont have admin rights, so please help me with this, whats the best way I can implement it via Google Sheets. I need following to do:

  • 从用户获取XLSX文件
  • 使用Google工作表脚本阅读两列.
  • 处理读取的值并创建一个包含6/7列的新的Google表格文件

请Plz帮助,因为我不是在寻找现成的代码,而是抢先一步,因为我以前从未使用过Google脚本.

Plz help as I am not looking for a ready made code but a head start, as I have never worked with google scripts before.

推荐答案

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆