JoeCode
Excel ODBC PostgreSQL notes
Jul 05, 2023- Determine what version of Excel you have installed (32 vs. 64 bit)
- Download the latest ODBC driver from: https://www.postgresql.org/ftp/odbc/versions/msi/
- Create a data source (DSN) in Excel
- Configure connection
Create DSN
- Control Panel
- Administration
- Open ODBC Administrator
- User DSN
- Add new User DSN (MyPostgreDSN)
- check connection
- Select Data > Get Data > From Other Sources > From ODBC.
- In the From ODBC dialog box, if displayed, select your Data Source Name (DSN).
- Enter your connection string, and then select OK.
- In the next dialog box, select from Default or Custom, Windows, or Database connection options, enter your credentials, and then select Connect.
- In the Navigator pane, select the tables or queries that you want to connect to, then select Load or Edit.
Resources