+ Reply to Thread
Results 1 to 2 of 2

VBA to change formula in all open workbooks

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-20-2017
    Location
    SWEDEN
    MS-Off Ver
    2016
    Posts
    123

    VBA to change formula in all open workbooks

    I have 200+ WB.

    They are all the same, but with different names.

    Is there a way I can change the formula in H5 from "=Sum(H1:H4)" to "=Sum(H100:H400)"
    And H9 from "=Sum(H6:H8)" to "=Sum(H401:H600)"

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: VBA to change formula in all open workbooks

    Record one macro to do just both these actions, save it and sue it on all workbooks
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ 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. VBProjects of closed workbooks shown in open workbooks VBProject window
    By ImranBhatti in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2018, 07:10 AM
  2. Replies: 1
    Last Post: 03-31-2016, 02:06 AM
  3. Replies: 2
    Last Post: 12-15-2013, 05:15 PM
  4. [SOLVED] Open Multiple Workbooks, Record names, Copy paste to Active Workbook, Close the Workbooks
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 06:09 AM
  5. Formula only works with referenced workbooks open
    By woodrbw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2012, 07:26 AM
  6. [SOLVED] Open workbooks - filenames change daily
    By GillianHG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2005, 02:45 PM
  7. Replies: 1
    Last Post: 05-12-2005, 08:06 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