+ Reply to Thread
Results 1 to 6 of 6

Finding text from another Excel Document

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    Ankara, Turkey
    MS-Off Ver
    Excel 2003
    Posts
    3

    Finding text from another Excel Document

    Please Login or Register  to view this content.
    I'm trying to search a text into another excel file and take values from there accordingly. Unfortunately I get "Subscript Out of Range" every time I try to run this macro and I'M sure there is such a file and sheet in that file...

    Where am I doing wrong?

    Thank you!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Finding text from another Excel Document

    Did you try it when the workbook was opened?

  3. #3
    Registered User
    Join Date
    01-25-2011
    Location
    Ankara, Turkey
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding text from another Excel Document

    Quote Originally Posted by davesexcel View Post
    Did you try it when the workbook was opened?

    I tried like you said and nothing changed, I cannot search anything from another excel file

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Finding text from another Excel Document

    Try this
    Please Login or Register  to view this content.
    Change the name of your workbook in the code supplied

  5. #5
    Registered User
    Join Date
    01-25-2011
    Location
    Ankara, Turkey
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding text from another Excel Document

    This is working now, but I cannot use this if the excel that I'm trying to search is closed. Isnt there any way to make this work if being searched excel is closed?
    Last edited by davesexcel; 02-02-2011 at 08:35 AM.

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Finding text from another Excel Document

    It has to be open, how else will you goto it?

+ 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