+ Reply to Thread
Results 1 to 5 of 5

Autofill a formula in excel macro

  1. #1
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Post Autofill a formula in excel macro

    hi,

    I have the below formula which i want to insert in column F of sheet 2 till the last row based on column A. I mean if column A ends at row 32 then the formula also should end at column F32.

    Please Login or Register  to view this content.
    is the formula which i have.

    Please help

    Thanks in advance..

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,964

    Re: Autofill a formula in excel macro

    Why dont you just copy it down to as far as you need it?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Re: Autofill a formula in excel macro

    AS I have multiple columns like that to do and more stuff in macros is already existing. So, want a macro to do that.
    Thanks for your suggestion.

  4. #4
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    813

    Re: Autofill a formula in excel macro

    Try one in below:

    Please Login or Register  to view this content.
    Regards,
    tt3

  5. #5
    Forum Contributor wakeupcall's Avatar
    Join Date
    02-29-2012
    Location
    Sofia, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Autofill a formula in excel macro

    Or

    Please Login or Register  to view this content.
    Liked the answer given? click * to say so

+ 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. Macro to Autofill columns with Formula
    By craigw02 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-20-2013, 08:53 AM
  2. Macro Question Regarding Formula AutoFill
    By srd1281 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-07-2013, 01:03 PM
  3. Replies: 0
    Last Post: 09-17-2012, 08:24 AM
  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. macro - autofill formula to end of data rows
    By ugg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2007, 04:16 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