Results 1 to 4 of 4

Macro Autofill to last Row (newbie here, read other posts already)

Threaded View

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    Puerto Rico
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro Autofill to last Row (newbie here, read other posts already)

    Hi all,
    I am new to the forums and to VBA editing. I am trying to get a macro to autofill formulas to the last row on a sheet completed daily that pulls varying total of rows. I've read other posts requesting the same and tried applying the lastrow code but could not get it to work.

    The VBA code is as follows

     ActiveCell.FormulaR1C1 = "Converts Rate"
        Range("L2").Select
        ActiveCell.FormulaR1C1 = _
            "=IF(OR(RC[-1]={""B"",""C"",""D"",""N"",""O"",""P"",""R""}),1,0)"
        Range("L2").Select
        Selection.AutoFill Destination:=Range("L2:L2000")
        Range("L2:L2000").Select
        Columns("M:M").Select
        Selection.Insert Shift:=xlToRight
        Range("M1").Select
    My reference column for lastrow would be column A.

    Any help would be appreciated.
    Last edited by megamalandro; 09-29-2015 at 04:22 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] My Posts count goes down.. Posts deleted.. ?
    By Doc.AElstein in forum Suggestions for Improvement
    Replies: 9
    Last Post: 08-28-2015, 06:30 AM
  2. Commercial Services New Posts/New Posts View
    By jaslake in forum Suggestions for Improvement
    Replies: 20
    Last Post: 08-07-2014, 11:02 AM
  3. Replies: 2
    Last Post: 07-14-2014, 03:13 PM
  4. Macro for Autofill removes header info when there is no data to autofill
    By esturan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 01:42 PM
  5. [SOLVED] Issue - Posts that i've previously read are now showing unread in subscriptions
    By Simon Lloyd in forum Suggestions for Improvement
    Replies: 5
    Last Post: 03-27-2012, 01:53 PM
  6. Autofill:newbie to excel
    By uglyduck in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2010, 06:30 PM

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