+ Reply to Thread
Results 1 to 5 of 5

Macro to change formulas quickly on several worksheets.

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Macro to change formulas quickly on several worksheets.

    I have a workbook we use for to keep track of scores and such. In one cell I have it automatically keep score. However, during the last update, pages 3-15 have the same formula as page 2. So they all reflect that page's score (Cell L2). Same issue with the cell that tracks the number of errors (Cell L3). The L2 cells should have the formulas listed below.

    I have a hundred workbooks or so that need fixed. Can I do a macro that runs on the open workbook and matches sheet name and then pastes the formula into that cell? If someone can help with the L2, then I can easily adjust to do the L3 myself.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro to change formulas quickly on several worksheets.

    If no one is available to help create, can you advise if anything is wrong with this?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-27-2017
    Location
    Italy
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Macro to change formulas quickly on several worksheets.

    Hi taylorsm,
    just a beginner suggestion to insert formulas on all workbooks in a folder, try this code (backup files before testing):

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro to change formulas quickly on several worksheets.

    Hey Sequoyah, thanks! I thought about the folder option, but each workbook is in an employee's folder. so I would have to go drag it out and drag it back. Now if I can get it to ignore the file name unless it contains "September 2017" then I can run it farther up the file tree and it should work.

  5. #5
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro to change formulas quickly on several worksheets.

    I receive a method 'Open' of object 'Workbooks' failed error. my path is correct.

+ 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. Removing multiple !REF from SUM formulas quickly
    By chaoschaos in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-15-2014, 07:30 AM
  2. how to change sheets quickly
    By anthonycharles in forum Excel General
    Replies: 6
    Last Post: 03-16-2013, 04:10 PM
  3. Macro to hide columns and change formulas in multiple worksheets
    By Catthy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2012, 10:26 PM
  4. [SOLVED] Update 1000's Formulas Quickly for Error-Checking
    By AlexWonder in forum Excel General
    Replies: 0
    Last Post: 09-19-2012, 02:32 PM
  5. Replies: 2
    Last Post: 02-07-2012, 08:14 PM
  6. How do I quickly duplicate a formula but from different worksheets?
    By hayden1616 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2009, 09:37 PM
  7. quickly updating a large group of formulas
    By fantom06 in forum Excel General
    Replies: 2
    Last Post: 04-01-2009, 09:05 AM

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