+ Reply to Thread
Results 1 to 3 of 3

Fill down formula with start row and end row in column for specified worksheets

  1. #1
    Registered User
    Join Date
    09-11-2015
    Location
    California, usa
    MS-Off Ver
    2010
    Posts
    44

    Fill down formula with start row and end row in column for specified worksheets

    The following code works for each sheet in the workbook as written, however, if the user inserts a row on a given worksheet the remaining worksheets formula within the column containing start and end row text shift down over the "Start1Note" end row/"Start2Note end row string.
    Ie if one row is inserted all successive worksheets go from
    Note1Start
    Formula
    Formula
    Formula
    Note1Start

    To:

    Note1Start
    Formula
    Formula
    Formula
    Formula


    Any ideas to correct would be appreciated.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,652

    Re: Fill down formula with start row and end row in column for specified worksheets

    Not sure I follow, but the StartRow and EndRow lines are finding the rows on the Active sheet and not on each individual sheet. The Range("A:A") reference is missing a leading period to use the With sh qualifier.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    09-11-2015
    Location
    California, usa
    MS-Off Ver
    2010
    Posts
    44

    Re: Fill down formula with start row and end row in column for specified worksheets

    Thank you Alphafrog! Makes sense now why it was not working properly without leading period for sh qualifier. Much appreciated.

+ 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. [SOLVED] Fill down Formula for specified range for specified Worksheets
    By Redled89 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2017, 11:45 PM
  2. Macro formula fill start at a specific row
    By petercass88 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-18-2017, 05:06 PM
  3. Replies: 1
    Last Post: 02-16-2015, 09:16 PM
  4. [SOLVED] Fill the formula from start to end of week nos excel vba
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2014, 12:20 PM
  5. Replies: 2
    Last Post: 03-15-2013, 01:22 PM
  6. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  7. Fill Multi cells in Row if column match both worksheets
    By MBCMDR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-07-2009, 09:34 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