+ Reply to Thread
Results 1 to 3 of 3

VBA to copy formulas based on cell value, looped in range

  1. #1
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    VBA to copy formulas based on cell value, looped in range

    Hi.
    I am needing to loop through rows of a range (A4:AC & last row of data), checking a particular cell in each row (Column AC) for a value. After matching various values, I need to copy formulas from another part of the sheet to the row that is being searched.

    I cobbled together a portion of what I think might work, but I am stuck on how to tell it which row to paste the formulas to. (I'm sure this snippet of code is clunky, so any adjustments are welcome.)

    Please Login or Register  to view this content.
    Last edited by LKERN; 10-05-2023 at 12:14 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    2021
    Posts
    301

    Re: VBA to copy formulas based on cell value, looped in range

    Hello @LKERN. Without an example file, maybe so.
    Please Login or Register  to view this content.
    Good luck.

  3. #3
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    Re: VBA to copy formulas based on cell value, looped in range

    MikeVol, Thanks! That worked perfectly.

+ 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. [SOLVED] Excel VBA Looping in sheet and saving every looped file based on cell range
    By Shawn1888 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-24-2021, 11:47 AM
  2. Copy formulas from row 3 automatically down to row nth based on cell value
    By Solando in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2020, 07:25 AM
  3. Copy down formulas based on number in a cell.
    By Mr.Bigz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-18-2018, 08:42 PM
  4. [SOLVED] VBA copy and paste row based on value, looped
    By JBeresford in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-30-2014, 12:00 PM
  5. Modify formulas in range based on cell value
    By podunkus in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-17-2013, 09:40 PM
  6. Need VBA to copy data from looped sheets into summary sheet
    By The Drone in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-09-2012, 09:49 PM
  7. copy range of formulas when cell is empty
    By nikenis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 07:14 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