+ Reply to Thread
Results 1 to 4 of 4

Import data from external file

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    Hungary
    MS-Off Ver
    Excel 2003
    Posts
    4

    Lightbulb Import data from external file

    Hey!
    I want a little help.
    I have a spreadsheet where I want to lay a button. Click-VB script I need, which does the following:
    Open a DialogBox with an Excel file you can open, and the contents of the cell (5 pieces) inserts into the table.
    Thank you for your help in advance!

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Import data from external file

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    01-06-2012
    Location
    Hungary
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Import data from external file

    Big thanks, but not working.. if put the code in button, automatically pop-up the window and if open a file, this message alert:Untitled.jpg

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Import data from external file

    Hi, lomajpure,

    the run time error is not surprising as the parent to a range is a worksheet, not a workbook.

    Please Login or Register  to view this content.
    Using ActiveSheet might result in another run-time error if any of the sheets is a Chart.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Import External Data doesn't import
    By JakeAy in forum Excel General
    Replies: 7
    Last Post: 01-26-2010, 03:58 AM
  2. Can't import external data from another Excel file
    By GorovDude in forum Excel General
    Replies: 1
    Last Post: 07-19-2007, 09:12 AM
  3. [SOLVED] Import External Data Source File Location Changed
    By Louise in forum Excel General
    Replies: 3
    Last Post: 01-04-2006, 10:50 AM
  4. “Import External Dataâ€:Import External Data
    By Jeff in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2005, 06:06 PM
  5. [SOLVED] import external data from changing file name
    By nathan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2005, 12: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