+ Reply to Thread
Results 1 to 5 of 5

Find Cell Value in Folders

  1. #1
    Registered User
    Join Date
    01-17-2017
    Location
    Dubai, United Arab Emirates
    MS-Off Ver
    2013
    Posts
    2

    Find Cell Value in Folders

    Hi!
    I you can help me a code in VBA to automatically search a cell value in a folder and its sub folders.

    Example: Cell A1 is file name "10001100". Im searching the pdf file named 10001100 in a folder. if pdf file exist, the message in Cell A2 "File Exist" if not available "File not exist".

    Thank you in advance!

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Find Cell Value in Folders

    Simply if you as below you will get result.
    >Go to "Start" & search
    >Click on "All files and folders"
    >In "A word or phrase in the file : Enter required number i.e. 10001100
    >In look in : choose folder. (if you know exact folder name kindly go through "browse"
    >click on "Search" tab.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Find Cell Value in Folders

    Simply if you as below you will get result.
    >Go to "Start" & search
    >Click on "All files and folders"
    >In "A word or phrase in the file : Enter required number i.e. 10001100
    >In look in : choose folder. (if you know exact folder name kindly go through "browse"
    >click on "Search" tab.

  4. #4
    Registered User
    Join Date
    01-17-2017
    Location
    Dubai, United Arab Emirates
    MS-Off Ver
    2013
    Posts
    2

    Re: Find Cell Value in Folders

    Yes solution is working. But the thing is I have thousands of file to search on. That is why Im looking for a code to help me for not copying 1 by 1 and paste to search.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Find Cell Value in Folders

    you need vba micro code.

+ 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] Vba code to search folders to find cell value and create hyperlink
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-16-2016, 01:56 AM
  2. [SOLVED] Code to create Folders and sub folders based on variable cell values
    By maxwell13 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-03-2015, 09:28 PM
  3. [SOLVED] Find the Empty Folders -Particular path/Drive
    By laxmanann in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 06-06-2014, 10:57 PM
  4. [SOLVED] Create folders and Sub folders and Sub-Sub folders from 5 columns with VBA
    By arleutwyler in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-11-2014, 04:16 PM
  5. excel can not find folders
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2013, 05:35 PM
  6. Macro to find and catolog files in folders
    By noremac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-21-2010, 07:47 PM
  7. [SOLVED] Find Folders
    By SteveW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2005, 12:40 PM

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