+ Reply to Thread
Results 1 to 2 of 2

OLEDB Connection with specific columns only

  1. #1
    Registered User
    Join Date
    10-26-2016
    Location
    Tampa, FL
    MS-Off Ver
    2013
    Posts
    1

    OLEDB Connection with specific columns only

    I have an OLEDB data connection and I am only wanting to import columns A:O into a table.

    I can import all the data...successfully, but not limit it to just those columns (A:O)

    I am populating the Connection Properties screen..

    Thanks in advance...

    Please Login or Register  to view this content.
    Last edited by Leith Ross; 10-26-2016 at 02:00 PM. Reason: Added Code Tags

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: OLEDB Connection with specific columns only

    Take a look at Data -> Other Data Sources -> MS-Query. When you connect to the data source you want, you can drag and drop just the columns you want in the order you want into the query builder grid. The interface is very similar to Access' query builder.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Leave OLEDB connection open
    By ngirrens in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-09-2012, 02:30 PM
  2. Excel OLEDB.12.0 connection problems
    By JohnGaltnl in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-12-2012, 05:40 AM
  3. Excel 2007 : Add data via an OLEDB connection
    By pepi in forum Excel General
    Replies: 0
    Last Post: 08-03-2011, 06:29 AM
  4. Querytable OLEDB connection
    By mrcoffee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2011, 12:04 PM
  5. Define OLEDB connection string
    By John in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2011, 08:42 AM
  6. OLEDB Connection in
    By mishra.ananda in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2009, 02:53 AM
  7. oledb connection string problem in vb.net
    By Manoj Nair in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-15-2006, 03:45 AM
  8. [SOLVED] Connection to Excel from .Net using Oledb
    By c23chaos in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2006, 11:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1