Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fugRu-0007qh-MU for pgsql-odbc@arkaria.postgresql.org; Tue, 28 Aug 2018 16:02:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fugRs-0006oW-I2 for pgsql-odbc@arkaria.postgresql.org; Tue, 28 Aug 2018 16:02:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuNz8-0006or-TY for pgsql-odbc@lists.postgresql.org; Mon, 27 Aug 2018 20:19:39 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fuNz6-0000Z2-6s for pgsql-odbc@postgresql.org; Mon, 27 Aug 2018 20:19:37 +0000 Received: by mail-wr1-x42a.google.com with SMTP id m27-v6so213071wrf.3 for ; Mon, 27 Aug 2018 13:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=BwyjyYGWU+0OpfjOsvBKiMqnBMDm9E1qMQ0DyscyeqE=; b=Dp1opMSbp3Q8Zlqy6OekA188ZpMthaeqb9u5+Ug2HfyLFD843avjee8d+GCvUrJ7u3 RCU+847WVuqKmhkdyqwRnTZphVHaACKzmxIcEjhN7BzZDsfJgV0fqcPFPFNRjFdPbl28 0MdhZW76zReKLR1TOV0CQUY+nYp6cAAHqGrGwHLX9ycCOx272zJOI26eP5e+bw+LzN3y ICe2j+MHaykc5R88IojyxGnUWTQ1ka7tAk49B1xBWFaU9Ywn1rL/+CBhRczCtBGB5NVS va1++URwPzzFGnv+s4gGldVrKyAYq5HBAkbF07OqBVNvr/g24ATDnIXDOEVjGQw5C/TI EDpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=BwyjyYGWU+0OpfjOsvBKiMqnBMDm9E1qMQ0DyscyeqE=; b=ppWShgAQPgU6UCihUdsHuhsMhqoxL2a1RwTqupPVsv/UKHfcActpGCXdJddRm1340o LBCd07+5lxIgbhgohk2yGIHguYuqxGbdTTKpC315MgRBFeENvhsdPjNjLoM/JrBlvAFl V6ui2jhdvmTcGWxZy6MyNjNmpCm8t8hEenrme8Bxru5MUl4lj7MYnKdx+1LaOx+Ir/+5 Wmx85fG5HvkLr7vYHiog2Lfi7wH6jhcDL/MKGc2IznjwbZpSi7+msCPwqHZJasoZwi1M m7ZhoJen/p/Sg9idwWVY9lLrkExNCH3Vo0aQI2WBfYWxvS+KJJ01Ae/GGaPuqvaiMCs8 PxJg== X-Gm-Message-State: APzg51By8RW9WpzUO5k6/8gEqLy4n+zhfEcgsx3Y8ThzEd/PNygHPB1s ZyOaFcJIAfgmOA3t7MppkZokNPbo X-Google-Smtp-Source: ANB0VdbKsKDas9OK0KxlbcNqM/i3HzIeYE+jdi7vOCSeJgwzV+nRF3kN+u4Puc7BgJWzl/OITnOYRw== X-Received: by 2002:adf:be81:: with SMTP id i1-v6mr9153684wrh.235.1535401173837; Mon, 27 Aug 2018 13:19:33 -0700 (PDT) Received: from DESKTOPBD1K4FK (x5f76009b.dyn.telefonica.de. [95.118.0.155]) by smtp.gmail.com with ESMTPSA id j6-v6sm112366wru.64.2018.08.27.13.19.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 13:19:33 -0700 (PDT) From: "Paul Suworow" To: References: <-3a5719ao6eou3leql-edduop-bzcl2t4oi9cm-fxcuey-a4i1c4-jsfglwfhie6bdtabdc-bxwmcnqe0xk7-q0nc5o-n3nir5-dkdwdbkihg1i2s8mhd78g4i3-onf2e0w2oio4nnlmvd-n3k13z-1j3goc.1535355997668@email.android.com> In-Reply-To: <-3a5719ao6eou3leql-edduop-bzcl2t4oi9cm-fxcuey-a4i1c4-jsfglwfhie6bdtabdc-bxwmcnqe0xk7-q0nc5o-n3nir5-dkdwdbkihg1i2s8mhd78g4i3-onf2e0w2oio4nnlmvd-n3k13z-1j3goc.1535355997668@email.android.com> Subject: Connection to PostgreSQL from Excel Date: Mon, 27 Aug 2018 22:19:30 +0200 Message-ID: <001f01d43e43$438e30b0$caaa9210$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIyQRZ1tmra6AgozFua1mw0y1wOe6QYBA5A Content-Language: en-gb List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi team, Thank you for your great work! I am developing an Excel tool that should = allow users to update tables and charts from a PostgreSQL database. My = workbook currently connects to the database using the following VBA = code: Set objConnection =3D CreateObject("ADODB.Connection") ConnString =3D "DRIVER=3D{PostgreSQL = Unicode};DATABASE=3DFMS;SERVER=3D[x];PORT=3D5432;Uid=3D[x];Pwd=3D[x]" objConnection.Open ConnString All works fine but the code requires PostgreSQL driver to be installed = on user's machine. Is there an alternative way to connect to a PostgreSQL database without = pre-creating DNS or installing any drivers in advance? Thank you for your help! Kind regards, Paul