If I were to embed a macro-enabled workbook on a web page, would the users be able to:
1) Run the macros and if so
2) Would the Macro run on the server or the user's machine?
Macros won't run. 2003 xls files with macros in them were unable to run in html format as well.
Related
I am really only used to using VBA for scripting so this is a very new world for me. With that being said I am trying to write a script out that will be able to find a .txt file based on a user input and then import said file from my C: drive into a blanksheet in the workbook. Is this a capability that Apps script has?
I have downloaded a google sheets file with a premade macros in it. When I went to Tools to look for the Macros tab, there was none. Anyone know how to find where it would be in this case or how to fix this error?
According to the Google Sheet Macros Documentation, there are a couple of things you cannot do with them.
When I went to Tools to look for the Macros tab, there was none.
In this case you could be facing an issue if you don't have the permissions for the file, you need edit permissions to be able to access the script (how macros are stored). if you downloaded the file and are opening it in another app, it will not work (again, as per the documentation above).
To be able to access the macros you need to be in the original Sheet, with edit permissions to be able to see/modify them. If you're accessing them externally you will need to create them from scratch.
I am attempting to use Google Apps Script to download an excel file that is linked to on a CRM. That is, instead of each day having a person log in to the CRM, download new data as an excel file, and copy and paste the new data to our existing Google Sheet, I would like to have my script do so.
Is it possible to do this? I have been looking at UrlFetchApp, however I'm having trouble because there is no direct link to the file I need (only a link to generate and download the file).
I am writing a report and one of the sources resides in a Google docs spreadsheet. Is it possible to use that spreadsheet as a datasource in SSRS?
Is this doc spreadsheet Excel file? If so , you can use ODBC driver and use the Excel file as data source. See:
http://hussain-msbi.blogspot.com/2012/07/create-ssrs-report-using-excel-data.html
Otherwise you have to custom a data process extension so that SSRS can read the data.
Unfortunately it is not possible to use a google docs spreadsheet as a direct datasource for SSRS. You would need to make use of an API to download your data locally into a flat file format (such as csv). From there you can access the flat file as an SSRS datasource
When a user downloads a CSV file from an arbitrary site, I would like to be informed of this event and automatically upload the same file as a Google Sheets file. Is this possible or would this be violating a fundamental browser security concept?
The CSV file in question does not have a URL, but is created on the fly by the arbitrary web site, when the user clicks a button. An example would be the user's list of financial transactions at a bank web site.
I am not new to Google Apps/Drive but I am new to Google Apps Script.
There is no way to detect that kind of events.
I can't even imagine a function that would allow for automatic file upload of a local file... don't forget Google Apps Script is a server based environment.