+ Reply to Thread
Results 1 to 2 of 2

Autoselect where to put the data when importing an IQY file

  1. #1
    Registered User
    Join Date
    08-27-2014
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2010
    Posts
    2

    Autoselect where to put the data when importing an IQY file

    Hi forum,

    I have got a nasty problem which I cannot get resolved.

    I have created an excel file that connects to a set of 6 SharePoint lists using webqueries (IQY files). The option I use is a read connection, so any change in SharePoint can be refreshed in excel. A connection is astablished by doubleclicking the file which than dynamicly links the SharePoint list to Excel. So far so good.

    I have added 6 connections to the excel file and seem to run into cappacity issues. Whenever I (re)open the file it forgets the links.

    So I created a vba script to import the files automaticly for me:

    ____________________________________________________________________________________________

    Please Login or Register  to view this content.
    ____________________________________________________________________________________________

    Whenever I run this script it pops up this screen which I would like to autopopulate:
    27-08-2014 11-06-32.png

    I would like the script to automaticly select the [New worksheet] option, but i cannot find where to set this parameter.

    I searched the internet for clues but cannot find anything that works.

    Your advise is most appreciated.

    Regards,
    Michiel





    Here is an example of the IQY file contents for reference:

    ____________________________________________________________________________________________
    Please Login or Register  to view this content.
    ____________________________________________________
    Last edited by mhasselosmits; 08-27-2014 at 06:37 AM. Reason: To comply with the forum rules

  2. #2
    Registered User
    Join Date
    08-27-2014
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2010
    Posts
    2

    Re: Autoselect where to put the data when importing an IQY file

    My Bad, being new to this forum. I have updated as per request.

+ 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. Autoselect data on entire column?
    By kimmyk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2014, 06:07 AM
  2. Offset+counta to autoselect data range for charting purposes
    By siroco79 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-17-2013, 04:50 AM
  3. Importing a data from a text file - user-defined file
    By DaveSev in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2013, 07:02 PM
  4. [SOLVED] Autoselect data using Macros
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2006, 01:35 PM
  5. importing data from txt file
    By onelson in forum Excel General
    Replies: 0
    Last Post: 08-02-2005, 09:24 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