I currently have a very heavy Google Sheets workbook with about 8 sheets, thousands of rows, and complex formulas. We use this a source file for many tasks and link to this workbook from several other Google Sheets using Import Range and a 3rd party tool called Coupler.IO.
This week, the ImportRanges and Coupler Imports all started timing out and would not finish. Nothing has been changed in the source file except some minor additions of data.
This seems to be an API or Google Server Bandwidth problem, but there's really no way to confirm.
Is anyone else having similar issues? Is there a solve out there?
-Leo
Related
I've been working on perfecting a couple of my google sheets for work. I need to share it with my coworkers, but I want to find a way to protect my hard work from being copied and repurposed by others.
They need to have edit access, so that eliminates "Disable options to down, print, and copy for commenters and viewers".'
I need to make sure this document doesn't get duplicated a dozen times by everyone the moment I provide them all with edit access. Any advice?
For any of those coming back to this feed, I've created a google script that if someone tries to make a copy of my document, the moment they open their doc, the entire sheet gets wiped (what I like to call 'self destruct').
So it is possible, despite the entire internet and google themselves saying it's not.
I seek advice on how to manage userdefined VBA-functions that are used in several workbooks:
Background:
Over time i have created several Excel workbooks (wbs), each with a slightly different purpose, that are ultimately based on a library of my userdefined functions and class modules (From now on: library). The "master"-versions of the wbs are revision-controlled. The wbs are used by several people.
However, I do not use an addin for the library, and hence the modules and class modules are actually locally present in each wb's specific VBA project. This makes it a nightmare when doing either expansions or corrections, as I have to revisit and implement said alterations in each wb.
Furthermore, in each wb there are unique functions, understood such that those are not intended to be shared. Those functions, however, might utilize the library-functions.
Main-Question: How should one manage vba functions across several workbooks shared by several users?
My considerations/Sub questions:
Should I convert the library to a true addin and discard the local copies in each wb?
How do I tell the users that the add-in is required upon getting a copy of the maser-version?
How does one cope with legacy/local versions/branches that are spread among the users? Both current legacy copys and future legacy copies that might be used for reccuring tasks?
Where should such an addin-in be stored (in a shared folder or something)?
Would it be considered "bad practice" to force load the add-in using the workbook_opensub?
Any advice or guidance in best practice is appreciated.
Edit: I have tried to highlight the main question, please consider the sub questions as my own thoughts on the subject.
Until recently, I had several add-ins that lived on a shared drive. I had the users install the add-in using File - Options - Addins and wrote up the instructions to do it. The copy on the shared drive was read-only. For changes, I would code and test on the dev copy on my machine, then deploy it to the shared drive. The next time the user started Excel, the changes would be there.
Then we wanted more people to have the addins and not all of them had access to this shared drive. Also, people complained when they were off the network that it still tried to connect to the addins. So we went a different route.
We used a program called PDQ Deploy to put the addins in everyone's addins directory, so they had a local copy. We also deployed a script that copied the files from a company-wide shared drive to their addins directory. If they weren't connected to the nextwork, the script would fail silently. Finally, we used group policy to 1) create the registry entries to install the addins and 2) create a scheduled task that kicked off the script every night. Updating every day is overkill, but the files are only a few kbs, so we went with it.
Now I can deploy new versions to the company-wide shared drive and everyone will have the changes the next day (or the day after they're back on the network).
I put my vba stuff on the "personal" workbook (Windows menu : Unhide...) and whatever workbook I am using I can use them from there.
You do have to make sure about knowing which one is acrtive though...
I would like to pull data on daily Major League Baseball statistics to an excel spreadsheet. The data will come from this website.
I would like to pull each day of stats to it's own sheet in the excel workbook. I would also like this process to be automated, so when the stats for future days are released they will also be pulled to a new sheet.
I am running Excel 2011 on a Mac.
You haven't provided anything for us to go on. Do you need help getting started?
I don't know if this is applicable to the mac environment, but in Windows, you can use a COM reference to get excel to automate internet explorer. IE isn't the best browser, but for most automation tasks, it works well enough, and the COM reference makes it easy. If that doesn't work for you, check out Selenium:
http://code.google.com/p/selenium-vba/
Side-note: I'm not sure what you're planning on doing with the stats, but I wouldn't want to mess with a workbook laid out that way. You might be better writing a script to get it all into a database.
how to do live updates to one cell to another cell?? I don't know, is it call synchronized or live updates, what im trying to do, i want my cell to update to another sheet, if i change something or values in sheet1 cell 1 then sheet2 cell 1 should change it automatically.. any1 have any ideas ????do i have to do live change or live updates or its a synchronizing or how do i code it, i never did anything like that before.....
sub worksheet_change()
if sheets("sheet1") = sheets("sheet2") then
do liveupdate
end if
end sub
DDE
If it's on the same computer, you can do something called DDE and make DDE based functions.
DDE is an old but still very well used technology (especially in the financial industry) which stands for Dynamic Data Exchange. That will enable you to control values in the cells of one worksheet from code driven through another.
Search for DDE examples, DDE MSDN, etc. and you'll find tonnes of simple examples out there.
DCOM ??
For a while, MSFT wanted to extend DDE and similar technologies across networks, like Distributed COM but security issues got in the way and common sense prevailed.
RTD:
A bit more involved and better (IMHO) method is creating a simple RTD server (Real Time Data Server) that reads data from your sheet, and pumps it across a network or simply to another instance of Excel on your computer.
Either of these methods can be used to distribute live stock feeds, etc. coming onto expensive subscription terminals across a network (be aware of the licensing issues though for spreading any data around using these techniques).
RTD information can also be found with simple examples to set up an RTD server scattered across google search results.
Hope it was helpful.
I have created a spreadsheet in google docs. The spreadsheet takes some input, calculates some results, and displays the results numerically but also as a graph.
I would like to publish this spreadsheet, so that anyone can input and get the results and the graphs. I tried the Publish to the Web option (from File Menu), but the spreadsheet becomes static (no calculations possible on new values)
I tried the Share option. However when choose anyone can view the spreadsheet is not interactive. When i choose the anyone can edit option the file is usable, but my concern is that if I publish this on the internet and 2 users want to calculate simultaneously based on different values it will mix things up.
Is there anyway to accomplish what I require without setting up a website or programming in Javascript? I do not need to protect any of the calculation routines, I only require that the spreadsheet starts everytime with the default settings, the edits are not saved and the spreadsheet is interactive.
Seems like you may want to publish your Google Sheet as a template. Doing so will let strangers "deploy" a copy of your spreadsheet, for their own use (and without conflicting with other web users).
Google Docs template gallery
Instructions for submitting a template
Caveat: Until Google adds support for publishing "new" Google Sheets as templates, you'll likely want to submit a spreadsheet in the "old" format.
I might suggest using Protected Ranges.
https://drive.googleblog.com/2012/08/lock-down-cells-with-protected-ranges.html
Basically locked cells and you should be the only one able to manipulate the locked cells to you can freely set the page to be editable.
You can also specify the Range of cells that you wish to use when embedding. (See the publish options).
These two methods should help you with your project.