+ Reply to Thread
Results 1 to 3 of 3

VBA

  1. #1
    missk
    Guest

    VBA

    Hi,

    Pls help me with the below VBA progamming.

    Starting with cell E5, the formula I want to apply = C5*D5, and I need
    this to repeat itself down each cell until the data in Col C is
    blank/empty.


  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello missk,

    To find the last row in column "C":
    LastRow = ActiveSheet.Cells(Rows.Count, "C").End(xlUp).Row

    To fill the Range using the Formula in cell E5:
    ActiveSheet.Range("E5", "E" & LastRow).FillDown

    Sincerely,
    Leith Ross

  3. #3
    Ronbo
    Guest

    RE: VBA

    In E5 put, =IF(C5<>"",C5*D5,"") and copy down.

    "missk" wrote:

    > Hi,
    >
    > Pls help me with the below VBA progamming.
    >
    > Starting with cell E5, the formula I want to apply = C5*D5, and I need
    > this to repeat itself down each cell until the data in Col C is
    > blank/empty.
    >
    >


+ 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