+ Reply to Thread
Results 1 to 3 of 3

Populate Rows With Formulas Up To The Last Row of Raw Data

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Populate Rows With Formulas Up To The Last Row of Raw Data

    Hi,

    I have a macro that copy-pastes raw data from a worksheet. Say Columns E-I are those that are copy and pasted as values. The problem is A-D and J-M are formula driven. And the number of rows from Column E-I will vary depending on number of trades that day. How can I automate the copying of formulas of A-D, and J-M pasting it to the last line populated in E-I through a macro code?

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Populate Rows With Formulas Up To The Last Row of Raw Data

    You can try this (Assumes you have formulas in A1:D1 and J1:M1):
    Please Login or Register  to view this content.
    Adjust your range starting row as needed.

    - Moo
    Last edited by Moo the Dog; 02-11-2013 at 01:04 PM. Reason: Removed the "Select" and "Selection" parts - don't need them

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Populate Rows With Formulas Up To The Last Row of Raw Data

    Without the "selecting":

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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