How to implement VBA All Sorts in Google Sheets? - google-apps-script

I have been given a task, where there is a group of people in a excel spreadsheet, in which the owner can mark if a person has arrived or not. Which can be done in excel by using VBA All Sorts. But I don't how to implement this in Google Sheets. Is there some workaround to this?
I I have tried looking at the documentation for google-script-apps, and various how-to guides of designing a userform for a Google Sheets document.
I am afraid, that I can't provide some code as I haven't a clue of how to implement VBA All Sorts in Google Sheets.

what you should look into is Google Web Apps. You can create an HTML page with Google Spreadsheet as database. You can create the HTML page with all the options you want and then write/read the data from Google Spreadsheet by calling Javascript functions in the HTML talking to google.script.run.XXXX() Google Apps Script functions.

Related

Is it possible to hide Google script from google sheet?

I have a Rest API available which I would like to make available via an Google sheet for less tech oriented people. I was wondering if it is possible to hide the google script from the sheet if I share it with people? I have some sensitive information in the code like the authentication etc which I would like to hide. Moreover, it would be nice if they can't infer with the code. Is this possible?
The only secure way is to create an add-on.
Related
How to protect the Apps Script code in a Google spreadsheet?

Something like personal.xlsb in google sheets

I need use some functions in many sheets on Google Drive. Several users will use the functions of this script.
In excel I have got personal.xlsb with macros to all files.
Have You any solutions to this problem?
You may check in this documentation the list of classes and methods you may use in Google Apps Script connected in your Google Sheets. The Spreadsheet Service allows scripts to create, access, and modify Google Sheets files. See also the guide to storing data in spreadsheets. Here's the documentation on how Apps Script can interact with Google Sheets.
There's also a page about Google Sheets Macros that lets you record macros that duplicate a specific series of UI interactions that you define.
Hope this helps!

Summary Charts in Google Script from Google Spreadsheet

I'm new to Google scripting and have a very basic dashboard put together from all the information available online. The source is a Google spreadsheet of data exported from a database. I'm creating a Dashboard web app and would like to create summary charts on the dashboard due to the amount of information I'm working with. I've contemplated using Pivot Tables but would then lose the functionality of the CategoryFilters. I've seen lots of stuff about Google Visualization online and the Group function, but this doesn't seem to work in Google script. Can anyone advise what to do? Thanks.
Google give API for Google app script and Javascript.
It's really different because in app script you use a script in your google drive, and you use an app script editor.
If you use Google Vizualisation it's only javascript , you can deploy your javascript application in google app engine for example.
Google vizualisation is very interesting if you want to create a dataTable , a map , or others.
I use Google vizualisation for many charts because it's more simple and more dynamic than google app script.

Use script in all spreadsheets

I'm in the process of completely switching from excel to google spreadsheets. I'm writing a set of simple scripts that will help me be productive. Is there any way to make it so that these scripts are inherited by all google spreadsheets that I open (new + existing) from my google account? I know I can publish an add-in, but short of this...
In other words, when I open a new google spreadsheet I'd love to have my custom menus & functions automatically be available.
Thanks!
Add-ons for Google Sheets, Docs, and Forms provide this capability.

How to create Quiz Application using Google App Script(GAS)?

I am newbie to Google App Scripting(GAS). I need to make app for Quiz using Google App Script(GAS). It is possible to make such application in Google App Script.
I have a list of questions, associated options and correct answer in Google Spreadsheet. I have to integrate this question and options in randomize fashion with Google form and generates the response at runtime and store these responses in other google spreadsheet.
It is possible to do this in Google App Scripting(GAS).
I've looked at developing a quiz in the past and I eventually settled on flubaroo.com which has been set up as an open source project even though the source code is now hidden when you download it as an add-on. You can get an older version of the code that doesn't have a lot missing if you insert the script to an old type of Google spreadsheet. It doesn't have the randomised question feature you are after though.
Is it possible with Google Apps Script?
Yes, now it's possible a Google extended the Forms Service as was announced on April, 2017.
Reference
Create quizzes in Google Forms with Apps Script
why you don't use Google Forms ?
you can Add questions , and solutions, and your data will save in the spreadsheet.
In Google App Script , it's possible but , you must make an UI Application , with good interface , with Css.
Put your questions and solutions in your spreadsheet , and take a loop randomised to save a number of the question and show question.