+ Reply to Thread
Results 1 to 2 of 2

Help with copying a formula up a row

  1. #1
    Registered User
    Join Date
    10-13-2013
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    28

    Help with copying a formula up a row

    Hello All:

    I am stuck with some code here. I have recorded a macro that will copy a row (8 colswide) and drag it the formula up over 200+ rows. The code is below:
    Please Login or Register  to view this content.
    I would like to replace the relative references w/ variables that I have already created, I am just having trouble putting them in the recorded macro code. Instead of
    Please Login or Register  to view this content.
    I would like it to offset by the variable (-xRowNeeded). I want to drag the formula up whatever the amount 'xRowNeeded' is. I know I will need to change the
    Please Login or Register  to view this content.
    parts as well which I unfortunately could use some help with too. Any help is greatly appreciated. Thanks everyone!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,962

    Re: Help with copying a formula up a row

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. Copying and pasting formula into specific range based on a formula value
    By akwishestofish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2012, 01:12 PM
  2. Replies: 1
    Last Post: 04-30-2012, 10:01 PM
  3. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  4. Copying cell formula with a constant formula value
    By Khaldon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2012, 06:59 AM
  5. Copying formula to new worksheet: how to stop formula linking to original source?
    By test-card girl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2007, 07:32 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