+ Reply to Thread
Results 1 to 3 of 3

Macro to copy formulas down based on row count from another sheet

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    9

    Macro to copy formulas down based on row count from another sheet

    Hello,

    I'm very good with spreadsheets, but a major noob when it comes to VBA. I need to tweek a spreadsheet so that I can hand it off to someone who is a little less experienced in excel. One of the enhancements that I would like to do is create a macro to copy a row of formulas down. The formulas are on Sheet 2 and they are linking to an essbase retrieve on Sheet 1. The rowcount on Sheet 1 is variable. I need a macro that will look at the number of rows on sheet 1 and copy the formula down (on sheet 2) the appropriate number of rows. I've attached a simple example.

    Again, I'm very new to VBA so everything still looks like Greek to me. I'll try to not ask too many dumb questions.

    Thanks!
    KD
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-28-2011
    Location
    New Delhi India
    MS-Off Ver
    Excel 2003 ,2007
    Posts
    23

    Re: Macro to copy formulas down based on row count from another sheet

    Try this

    Please Login or Register  to view this content.
    Purushottam
    Excel, MS ACCESS 2007

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    9

    Thumbs up Re: Macro to copy formulas down based on row count from another sheet

    Awesome!!! That worked! And the really cool thing is that I was pretty close to getting it right on my own so maybe that means I can learn this stuff afterall!

    Thanks again!

    KD

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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