pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Weaver <gweaver@shaw.ca>
To: Nefertiti Nefertiti <woymita@yahoo.fr>
To: pgsql-odbc@postgresql.org
Subject: Re: PostgreSQL - linked with MS Excel
Date: Wed, 08 Jun 2005 10:44:07 -0500
Message-ID: <005001c56c40$eba40970$6400a8c0@Dell4500> (raw)
References: <20050608144450.81036.qmail@web26607.mail.ukl.yahoo.com>

Hi Weymy,

You can link directly to your PostgreSQL database from Excel, and open PostgeSQL tables directly in Excel.

You can do this by creating a DSN and .udl file (http://archives.postgresql.org/pgsql-odbc/2004-12/msg00056.php).

Once you have created the udl file, open Excel and choose File - Open.  Navigate to the directory where you created the udl file.  in the file type selector box in the open file dialog select All Data Sources.  You should see the udl file in the file selection pane.  Select the udl file and click on Open.  You should be presented with a list of your database tables.  If you choose a table, it will be open as a new worksheet in Excel.

HTH.
George
  ----- Original Message ----- 
  From: Nefertiti Nefertiti 
  To: pgsql-odbc@postgresql.org 
  Sent: Wednesday, June 08, 2005 9:44 AM
  Subject: [ODBC] PostgreSQL - linked with MS Excel


  Hello, please help me!!!!

  I'm trying to export some data from PostgreSQL to MS Excel.
  Now my solution is to copy data on .CSV format and after convert theses files to .XLS format.
  I'm a new user of PosgreSQL and I wan't to know if there is a another way to export data from PSQL to Excel maybe through ODBC.
  Are you able to help me? Would you have enough patience?
  Any information will be very important?

  PS: I have WinXP + PostgerSQL 8.0.2  + Ms Excel.

  Thanks, so much,
  Weymy.



------------------------------------------------------------------------------
  Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
  Créez votre Yahoo! Mail 

view thread (3+ messages)

Message-ID: <005001c56c40$eba40970$6400a8c0@Dell4500>
Permalink:  ../005001c56c40$eba40970$6400a8c0@Dell4500/
Also on:    postgresql.org/message-id/005001c56c40$eba40970$6400a8c0@Dell4500

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: gweaver@shaw.ca, woymita@yahoo.fr
  Subject: Re: PostgreSQL - linked with MS Excel
  In-Reply-To: <005001c56c40$eba40970$6400a8c0@Dell4500>
  References: <20050608144450.81036.qmail@web26607.mail.ukl.yahoo.com> <005001c56c40$eba40970$6400a8c0@Dell4500>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox