Make =IMPORTRANGE interactive/not to update? - google-sheets

I have a sheet with information and another where I import the data, but I want to be able to change the data in the imported sheet.
How is this possible? Once the data is published it doesn't need to update again if I change in the main sheet
SO:
I have one big sheet with lots of tabs that I cannot share
One of the tabs I want to share with colleagues
The colleagues should be able to update the sheet (doesn't need to update the "main" sheet again)

You mention
I have a sheet with information and another where I import the data, but I want to be able to change the data in the imported sheet.
... One of the tabs I want to share with colleagues
... The colleagues should be able to update the sheet
Please follow these steps
Link the sheet AND import the initial values.
Go to the tab with the imported values you want to "freeze" and select the whole range with values
Right click and select Copy
Go to menu Edit-> Paste special-> Paste values only
Enjoy the "frozen" tab.

Related

Google sheets: publish some but not all worksheets

I have a Google spreadsheet which compiles scheduling info for an event. The file has five worksheets. There are two worksheets which I want to publish to the web; the other three are for my use and to drive calculations.
I can see how to publish the entire file, and how to publish an individual worksheet. However, I cannot figure out how to publish say, sheet1 and sheet2 to a single document.
As a short-term workaround I have tried the following, which works after a fashion but I'm not a fan:
Create a new file with two sheets
Sheet1 uses an importrange call to grab the data from the original sheet1
Sheet2 uses an importrange call to grab the data from the original sheet2
I then publish the entirety of the new document
The finished product must be in Google Apps; that is a requirement I cannot dodge.
Solution 1:
You can hide the sheets that you don't want to publish, and then publish the entire document:
Published sheet:
Solution 2:
You can publish selected sheets using the Published Content & Settings options on the Publish to the Web dialog box. In the dropdown menu you can select which sheets to include:
The published spreadsheet would look like this:
Note: It seems that the web page may not display all the selected sheets, only the first sheet. You can file a feature/bug request here:
https://support.google.com/a/answer/6284762?hl=en
What worked for me is that after publishing the spreadsheet, copy the link, then through "Published content & settings" remove the check next to "entire document" and select the ones you want to share.
The details in the upper part of the window will disappear including the link, and the publish button will be green again "pressable".
Your copied link is still active, you can still use it, and only the selected sheets will be seen on the web. It is also modifiable; if you checked different sheets, web share will be updated accordingly.

How to allow users to Upload local file, Edit in sheets, and Write back to local file

I'm investigating if it's possible for a user to: Pick a file on disk, automatically upload it to Google Sheets, do some edits, and write the changes back to the file.
I basically want to use Google Sheets as the Editor of the local file.
Has anyone tried something like this, or can confirm if it's a feasible idea?
My rough idea:
Install a script or program, that a user (on our team) can execute with the appropriate file they pick.
Typically they right-click a file and pick "Open with MyGoogleSheetsCreate".
The ToSheets-script does the following:
Generates a temporary Spreadsheet on the user's Google Drive (or possibly a Team Drive/Folder for temp files)
Reads the custom data in the local file and enters it into the Spreadsheet.
Opens a Browser window with the generated spreadsheet.
The user makes some changes to the spreadsheet.
The user exports the changes back to the file.
User initiates this how? Some ideas:
Perferably: I build a button or menu option to "Export back to Local Disk". This would only be viable if we could explicitly say where to save this custom file, i.e. where it came from.
Optionally: They right-click the original file and pick "Open with MyGoogleSheetsRetrieve". The importer would need to know the address of the Google Sheet the local file was last exported to.
FromSheets-Script converts the Spreadsheet into our custom data format and overwrites the old file.
Bonus: The temporary Google Sheet would be automatically moved to the Bin within a couple of days (without user interaction).
I think I've got a good idea of how to convert our custom format to Sheets and vice versa. The steps I'm most unsure of are: 3.1 and 5.1

How to embed or link google sheets to docs?

I need to embed sheets to docs so what I change in sheets gets changed over to docs. I can do it by copying the table in the sheet and pasting it in docs and select the 'link to spreadsheet', the doc gets changed when I click 'update' over the table.
However, if I make a copy of both files and move them, the doc's link is still with the original sheet. The sheet I copied and moved does not do anything.
If there any way to copy both files and keeping all the formatting and links so I can have backups and not rely on one master sheet storing all the tables?
Or how can I manually 'link' the copied sheet to the copied docs without going through copying and pasting all the individual tables?
Thanks
Alex

produce a Google sheet script to disable download, print and copy for editors

Any way to produce a Google sheet script to disable download, print and copy for editors? Reason: The sheet will need protected (non editable) tabs and ranges, but needs to be shared to all with edit rights to be able to edit nonprotected cells, i.e. dropdowns to interact with the protected data and to be able to change views/graphs. But the sheet as such shouldn't be downloadable or copyable.
This is not possible through scripts or otherwise. There is no way to give edit privileges, but restrict copying of entire sheet.

"Running" an Excel sheet?

I was sent an Excel workbook. When I open the book, there is a sheet with some dropdown boxes on it. Not a "form" per se, but just a regular sheet. When I click on one of the dropdowns, it gets highlighted like it's ready to be edited, and a new option pops up in my ribbon for "Drawing Tools". I want to be able to "run" the sheet, so when I click on the dropdown I actually get a dropdown! I'm somewhat new to Excel 2010.
Here is Microsoft's document on how to do this. It is pretty straight forward. Also, when looking for these issues on the internet it helps to include combobox and make sure to specify the program and version in the search.

Resources