+ Reply to Thread
Results 1 to 7 of 7

How to Implement VBA Script to 1000+ Excel Files in One Go

  1. #1
    Registered User
    Join Date
    12-16-2020
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    13

    How to Implement VBA Script to 1000+ Excel Files in One Go

    I want to implement given below VBA Script to 1000+ excel files in One go. below script is working but I have to run this script one by one on files. Is this possible to run this script in one go?
    All files are in one folder, exact count of files is 1068, 1 sheet in every file.


    Please Login or Register  to view this content.
    Last edited by mrizwan356; 12-17-2020 at 07:34 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,881

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-16-2020
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    13

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    AliGw, thanks for mentioning, Now I am aware with all rules, and will take care of all rules.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    Is this possible to run this script in one go?
    Yes...

    Are all the files found in the same folder...
    Give a step by step explanation of where the files are, how many files, how many sheets per file...etc etc
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    12-16-2020
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    13

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    All files are in one folder, exact count of files is 1068, 1 sheet in every file.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    Strange that you have the exact same requirement as vikas_newports...Colleagues perhaps?
    Anyway, my take on this one...change red snippet to path of your files...
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-16-2020
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    13

    Re: How to Implement VBA Script to 1000+ Excel Files in One Go

    I copied your code from there and implement, I tired to ask my question there but as per rules I have to create new thread.
    Vikas and I both are working on same thing.

+ 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. How can I change the VBA script for all Excel files instantly?
    By EvelynLoh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2018, 10:46 PM
  2. creating vba script to write semi complex formula across 1000+cells in 1 column
    By dvault101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2015, 04:27 PM
  3. Replies: 4
    Last Post: 03-28-2013, 08:43 AM
  4. Deleting files in set directoty (implement a sub that does this into anonther program)
    By papasideris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2012, 08:42 PM
  5. Script not identifying excel files?
    By mlf84 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2010, 02:55 PM
  6. How do I IMPLEMENT regular expressions in a script??
    By doctormelodious in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2007, 01:06 AM
  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

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