+ Reply to Thread
Results 1 to 6 of 6

Importing CSV into workbook and creating listobject

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Importing CSV into workbook and creating listobject

    Hi Guys,

    i am using this function:

    Please Login or Register  to view this content.
    to import CSV into main workbook.

    what i want to do is to listobject to used range:

    Please Login or Register  to view this content.
    i am getting error:

    Screenshot_18.png

    Why this is happening? I am cleaning last created connection in function.
    Please help,
    Jacek

  2. #2
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Importing CSV into workbook and creating listobject

    What is interesting.

    Here:

    Please Login or Register  to view this content.
    ThisWb.Connections.Count ==> before run this = 1, after = 0 (so it seems to be working).

    Please Login or Register  to view this content.
    i added this code to check if in worksheet when i imported data i have still connection...
    And...it is!

    So how to explain this "Excel Magic" ?

    Jacek

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Importing CSV into workbook and creating listobject

    Hello,

    can anyone help why this statement is not deleting last connection?

    Please Login or Register  to view this content.
    Jacek

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Importing CSV into workbook and creating listobject

    Hello,

    up

    please help and explain

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Importing CSV into workbook and creating listobject

    Can anybody help?

    Jacek

  6. #6
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Importing CSV into workbook and creating listobject


+ 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] Check if listobject exists in workbook
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2019, 07:09 AM
  2. Compare listobject from previous workbook to current on - solution
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2018, 07:08 AM
  3. [SOLVED] Help Importing from another workbook and pasting multiple selection on original workbook
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-21-2017, 12:40 AM
  4. [SOLVED] Copy filtered column of ListObject to another ListObject
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2016, 04:00 PM
  5. Importing XLS workbook (3 worksheets) into Macro enabled workbook
    By c878923 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 09:47 PM
  6. Better way of creating many sheets for importing to a doc
    By darkxer0x in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2012, 08:50 AM
  7. [SOLVED] Importing Data from unopened Workbook into an open Workbook
    By GrayesGhost in forum Excel General
    Replies: 0
    Last Post: 03-05-2005, 08:06 PM

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