Is there a way I can connect to Salesforce.com through Excel Macro?
As we pull data from Oracle DB by creating a DB connect string, is it possible to do a similar setup for Salesforce too?
I am aware salesforce provides "Connect for Office" plugin but the problem with that plug in is it degrades the performance of Excel as it tries to connect to salesforce everytime you launch Excel.
Any thoughts will be appreciated.
Thanks
You can use the Office Toolkit to write VBScript macros that connect to salesforce.
Related
Is there an excel addin available right now to connect to AML model API(ACI)? I could see below solution for classic studio but not for AML.
https://learn.microsoft.com/en-us/azure/machine-learning/studio/excel-add-in-for-web-services#steps-to-add-a-new-web-service
Currently this feature is not available i.e.,an excel addin not available right now, however you can easily connect via a VB macro. You can open a feature request here.
Please follow the below example.
https://github.com/retkowsky/AzureML_Excel
Is possible to get connection to mysql server from excel macro, without downloading any ODBC connector? I have found solutions only with this connector. Problem is, that I have to send excel workbook to some people which they don't have this connector in their computer, and it will be a little problem to set it for them.
I need to make only one INSERT query.
I have a requirement to connect to lotus notes DB which is there in On-Prem. There is no built-in connector available in Azure DataFactory V2) to connect to it.
I've read an article about how to get data from lotus notes:
Using ODBC driver connection.
.Net code to read it.
Did anyone tried above possibility ? If so let us know whether it is possible, and if so what are Pros & Cons.
Have you tried using the ODBC connector from data data factory? I have never had to use it, but im pretty sure it will work as any other.
Just go to Connections, click on New, then type ODBC and fill the form! Make sure to select the on premise integration runtime when filling the form, so it connects through that to the database.
Here are some screenshots to help you:
Hope this helped!
I am trying to fetch data into Excel from SAP HANA database using vba. I came across the below questions.
Do I need to install SAP HANA MDX Provider for this? If yes, please provide the link. I am unable to spot any.
What would be the vba script that I should write to connect to HANA DB?
Please help me out on this.
Thanks in advance.
Haven't done this with VBA as Excel has other ways to connect to HANA. Hope this helps:
Using MDX: https://blogs.sap.com/2017/02/17/connecting-ms-excel-to-sap-hana-using-mdx/
Using OData: https://blogs.sap.com/2017/05/02/sap-hana-on-a-whim-a-bing-map-in-my-ms-excel-from-an-anonymous-odata-service/
Cheers!
Is it possible to create a spreadsheet that updates itself on a regular basis (daily, bi-weekly or monthly)? We use PostgreSQL. The content of the sheet is going to be based off a query I wrote.
What's the easiest way to connect an Excel spreadsheet to Postgres?
So far I have looked at:
A Microsoft product: https://support.office.com/en-us/article/Connect-to-a-PostgreSQL-database-Power-Query-bf941e52-066f-4911-a41f-2493c39e69e4
PostgreSQL's ODBC: https://odbc.postgresql.org/
However I can't find a clear explanation of how I am practically going to set up the spreadsheet.
A quick high-level explanation to connect excel to a database:
You can connect to a ODBC enabled DBMS's view or table using Excel's Get External Data buttons. Specifically in the Data tab, the From other Sources button.
To use this, you need to create a new DSN for your connection. Start>>"Search Box">>ODBC and use the 64-bit ODBC administrator to create a new System DSN. The DSN is the thing that will hold your ODBC connection's information, like the server address, username, password, etc...
Back in Excel you click the From Other Sources button in the Data tab and pick that DSN you just made. Then you can find the View you generated in Postgres and tell it which range you want to dump the data. That range then will hold the connection information so you can refresh any time you want.
Then, when you open the workbook you can just refresh the connection and pick up new data lickety-split.
There's other ways to connect Excel to ODBC and OLEDB enabled databases like using ADODB in VBA, but that's more complicated and probably overkill for you needs.