+ Reply to Thread
Results 1 to 4 of 4

Find and replace a text in excel workbooks in folders and within subfolders

  1. #1
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2021
    Posts
    347

    Find and replace a text in excel workbooks in folders and within subfolders

    Hi all!!

    I have the following code (found from google search) which finds and replaces a text within a folder but doesn't do it in the subfolders within the same folder.

    Please help me tweak the code to do the necessary adjustment.

    PS: Personel Document inspector and compatability is checked for every file so whenever I run this code for replacing and saving, a alert warning appears. Is there anyway to by pass that warning and just plainly save after replacing the text.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2021
    Posts
    347

    Re: Find and replace a text in excel workbooks in folders and within subfolders

    Any help would be appreciated.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Find and replace a text in excel workbooks in folders and within subfolders

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2021
    Posts
    347

    Re: Find and replace a text in excel workbooks in folders and within subfolders

    @jindon.


    Thanks a ton. Worked like charm.

+ 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. creating folders and subfolders with excel macro
    By bambamlatino in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2021, 11:37 AM
  2. Find and replace to loop through subfolders too
    By zak.horrocks in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2020, 12:10 PM
  3. Find&Replace through folders and subfolders macro looping more than necessary
    By NickZul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2018, 01:21 AM
  4. Create folders in all the subfolders and move subfolders
    By Amarjeet Singh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2015, 12:51 PM
  5. find in excel replace in word: find/replace text in text boxes and headers
    By dean.rogers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2012, 12:40 PM
  6. Creating folders and subfolders from excel file list
    By afaubert in forum Excel General
    Replies: 4
    Last Post: 11-08-2005, 07:50 PM
  7. [SOLVED] copy subfolders, replace text in files and save files in copied subfolders
    By pieros in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-01-2005, 09:05 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