+ Reply to Thread
Results 1 to 3 of 3

Reference sheet (sheet1) keeps changing when adding a new row on data sheet (sheet2)

  1. #1
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Reference sheet (sheet1) keeps changing when adding a new row on data sheet (sheet2)

    Hello,

    Question:

    I have a summary sheet (Executive Summary (ES)) that tallies up the data from different sheets within the same workbook. On each of the sheets after ES I have a VBA button that adds a new row for the addition of new data. The new row is entered on row "10".

    Put curser in "A10" click button
    Data is moved to "A11"
    Row "10" is now blank to enter new data

    This works great.

    On the ES sheet I have a formula that does the following:

    Please Login or Register  to view this content.
    This works great also, until I add a new row in, then the the following happens:

    Please Login or Register  to view this content.
    The code shifts down to A11 and A102.

    How do I stop the code from shift down?

    I have tried the following:

    $A$10
    $A10
    A$10

    Nothing works.

    Thanks
    Last edited by rhett7660; 08-04-2016 at 01:35 PM. Reason: Problem has been solved

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Reference sheet (sheet1) keeps changing when adding a new row on data sheet (sheet2)

    Change the $A$10 to $A$9.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Re: Reference sheet (sheet1) keeps changing when adding a new row on data sheet (sheet2)

    I solved my own problem, I just adjusted it to the following:

    Please Login or Register  to view this content.
    That worked.

    Didn't see Pete_UK's answer, but yup that is what I had to do!

    Thanks!!!

+ 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. extractin data from sheet1 into sheet2+adding&deleting rows in sheet1
    By xxl2953 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2016, 05:05 AM
  2. [SOLVED] Copy Data from Cells A Sheet1 to Sheet2 E1 and then Sheet 3 B3
    By Dess in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-11-2015, 03:25 AM
  3. [SOLVED] How to keep sheet1(output) active while searching sheet2(data) stop sheet switching
    By khhoa in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-14-2014, 08:18 PM
  4. Excel sheet [transfer data from Sheet2 to Sheet1]
    By aakhan2011 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2014, 01:37 AM
  5. [SOLVED] A button to create Sheet2, copy there data from Sheet1 and rename the sheet?
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2012, 10:34 AM
  6. Replies: 0
    Last Post: 11-15-2012, 09:51 AM
  7. How Copy the Data from more cell in sheet1 to a row on sheet2 (others sheet)
    By antoni in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-11-2009, 09:23 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