+ Reply to Thread
Results 1 to 4 of 4

Read Data from file

  1. #1
    Registered User
    Join Date
    02-23-2008
    Posts
    13

    Read Data from file

    Is there any way that i program excel to read data from notepad files every time
    i open the particular excel file? For example lets say i have created an excel file with 3 worksheets in it. And i also have 3 notepad files with data. Is it possible for excel to link notepad1 with worrksheet 1 and notepad2 with worksheet2 and so on? And ofcourse to read the notepad files every time i open the excel file because the data might have changed.

    Thank you for your time.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    I think you should use VBA to solve this, using the 'Input' statement.
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    02-23-2008
    Posts
    13
    can i have some more information on this please?

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    To explain the Input statement is rather difficult. What you also could do is record opening the text-file in excel.

    First you start the macro-recorder, and then you open the text-file.
    Once you opened the text-file as you want you turn of the macro-recorder.
    The VB code to open a textfile is now present as a macro.

    If you want full help on this you can send the file to me with the email-link on my site.

    Erik

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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