+ Reply to Thread
Results 1 to 3 of 3

How can I change the VBA script for all Excel files instantly?

  1. #1
    Forum Contributor
    Join Date
    11-07-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    100

    How can I change the VBA script for all Excel files instantly?

    Dear All,

    Really have a big headache now as most of my excel file have link up summary excel file which is a separate file from the form.

    However our head require us to change all file name with a _C at the end for all Excel files. I have a big headache now on is there any way to search all the excel file VBA and do a find and replace function instead of manually one by one form go into VBA to change the summary file name?

    Is there any macro can do the job or what other ways.

    HOpe all can please help me and understand what I try to say.

    Thank you very very much.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: How can I change the VBA script for all Excel files instantly?

    See if this is helpful

    https://stackoverflow.com/questions/...eria-using-vba
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    11-07-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: How can I change the VBA script for all Excel files instantly?

    Hi Alan

    Appreciate your help . However, am actually referring to the filename stated in VBA . How can I update the filename to the right one for all multiple Excel forms instead of go into each form VBA to update one by one which is very tedious. As my this Form link to a separate Excel Summary file which filename going to change to SR_Summary_PC.xls

    Please see attach VBA example.


    Image3.jpg

    Thank you very much..

+ 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. Change the external link instantly
    By KhalidSA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-19-2017, 08:24 AM
  2. [SOLVED] VBA Script to Copy Multiple Excel Files into one excel file, putting them into Multi tabs
    By malibu25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2016, 06:56 PM
  3. the value of userform object not change instantly
    By ardhean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2015, 10:35 PM
  4. How To Mass Download Multiple Files In One Go instantly?
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2013, 02:08 AM
  5. Instantly change column values after copy/insert rows based on input - Selection parameter
    By BuzzOffSweetheart in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2012, 09:47 AM
  6. Script not identifying excel files?
    By mlf84 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2010, 02:55 PM
  7. update excel files using a vba script
    By adinic in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-17-2006, 04:55 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