+ Reply to Thread
Results 1 to 3 of 3

vba to insert formula and auto fill based on specific column A

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,079

    vba to insert formula and auto fill based on specific column A

    I have calculation sheet from column C to F at rows 2 there are formulas .

    Trying how to use vba to insert the formula automatically still to last row based on A .
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: vba to insert formula and auto fill based on specific column A

    Select Developer then Start Macro Recorder

    Select Each Formula cell in turn, click inside the formula bar and press enter

    Stop the Macro Recorder.

    You will have a macro like:

    Please Login or Register  to view this content.


    Below is my list of Standard formulae.

    Save it somewhere.


    Please Login or Register  to view this content.

    From my list of standard Formulae use LR ie Last Row

    Please Login or Register  to view this content.
    Using that line we can easily modify the recorder macro to give:=

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: vba to insert formula and auto fill based on specific column A

    Please Login or Register  to view this content.

+ 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. Insert rows based on cell value then auto fill blanks
    By warrenr6 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2017, 05:50 PM
  2. How to disable auto fill formula from table but only specific column
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2017, 07:38 AM
  3. Dynamic Auto-Fill Range based upon Specific number of rows
    By a333 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2013, 03:54 AM
  4. auto fill time based on a when a specific cell has data entered
    By b16dlg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-30-2012, 05:26 AM
  5. Replies: 0
    Last Post: 08-10-2012, 12:55 PM
  6. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  7. [SOLVED] Auto Fill Column with Date based on rows in other column
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 01:35 PM

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